added error handling around inserting new participant data into the database. Also put db error handing logic into its own function
added error handling around inserting new participant data into the database.
Also put db error handing logic into its own function

wjhopper/FAM_SARP_experiment