Removed session.commit() from get_or_create().

Decision to commit or rollback should be left to caller, along with exception
handling.