Add rspec-expectation's deprecation code and fix deprecation warnings

This pull request adds the deprecation code from rspec-expectations and then fixes all deprecation warnings that are raised when running the spec suite. With #291 this should make running rspec-mocks's specs free of warnings.