Merge pull request #1 from binaryberry/master

Updated Gemfile and added postgresql database
Finally got the dm model to load...
Adds test for not saving bad events
added data validation and database update test