Upgraded to Rspec 3.0

Updated the RSpec dependency to 3.0.
Made necessary syntax changes in various spec file in order to maintain
compatibility with this new version.