Upgrade to RSpec 3.

- Update gem dependencies and be more restrictive about gem dependecy
  versions.
- Update other dev dependencies
Add ruby 2.1.x to TravisCI build.