support rails 4

- update gem dependencies
- new rspec syntax
- configure environment to travis ci
- support only rails 4