db: get_problem_problemid now automatically inserts a new entry if the problem doesn't exist (now it is no longer referentially transparent, but it is idempotent). Removed insert_problem - you can just call get_problem_problemid to do this. tutorialservice: No longer tries to insert a new entry if problem doesnt exist, just expects db to do this. No longer calls insert_problem (removed).