Rspec 3 and 2 compatibility

Remove deprecation warnings on
- example_groups
- failure_message in matchers
But still keeping RSpec 2 functional