Rspec 3 and rails 4.1

Tasks
====

 - rails 4.1
 - added spring for tests
 - fixed error with flash messages not being rendered properly