Put photos in the hash table and added the photos when we get a hash
table.
Finished setting up this model properly so that accident report will see
it. Also implemented the parentUpdated thing. We ensured that the
category and the filename will get saved to the database.
Removed the get and set id
Added in the test for photos.
Added accident_report_id and did some updates to fromJSON and getSchema
Tidied this up, added acc report id and impl parentUpdated
Added "Other" and a call to save the accident report.
Added a get database name and reformatted the script.
Added some code in setLoginState to load in the accident reports for the
user once they have logged in. Haven't tested this yet.
Added customer id, dirty and save method.
Added call to saveAccidentReport