Rollback on put and post so events are saved, closes #20
Merge branch 'dev'