Upgrade to RSpec 3.0.0.rc1

I upgraded the test suite to RSpec 3.0.0.rc1, and updated relevant parts of the application code. My primary goal was to remove the deprecation warnings when using `configure_rspec_metadata!`.

This fixes #406.