Fixes bug 976088 - add upsert for processed_crashes storage
* Add crashstorage upsert
* Update tests
* PEP8 fixes
Fixes based on feedback r=twobraids
* Change RETURNING to 1 or 2 based on update or insert
* Remove savepoint and try/except block for processed_crashes insert
* Fix error in UPSERT SQL
Merge pull request #1911 from selenamarie/bug976088-upsert-for-processed_crashes

Fixes bug 976088 - add upsert for processed_crashes storage