RSpec3 compatibility

I get a few warnings when I run the test suite with rspec3. I've updated the config so that it works with rspec2 and rspec3.

I've also make rspec the default rake task (previously there was no default rake task)