Fixes rspec deprecations

This is still a WIP. I set `config.raise_errors_for_deprecations!` to get more info about the reason for each deprecation warning. 

Currently we're down to 36 deprecation warnings from 90.