Update to RSpec 3.

* put dev dependency and unify quotes in Gemfile.
* Fix spec warnings.