Error details report

Detailed error report for devs. 

Saves a new report entitled "Error detail report" to db, which is retrievable with the latest version of stacky.