added updates to database model.py (include as_dict method for RunLog table)