Merge pull request #4 from wasafiri/API

Add creation of events on API
Merge pull request #5 from wasafiri/API

Use ActiveModel::Serializer to serialize json; refactor spec for less code smell
Use Rails 4.1.4
Use Rails 4.1.4
Merge branch 'master' of https://github.com/wasafiri/blocmetrics
Ready gemfile for merge
Resolve gemfile merge conflict