Use new rspec syntax and couple more improvement

- Use the most recent version of the gems
- Use new expect syntax for rspec
- Use require instead of require_relative when possible
- Add pry to rake task for quick prototype/testing.
- Misc code improvement