RSpec 3

Update to RSpec 3, and fixed all the deprecation warnings.