Drop ruby 1.8 support. Change rspec 1.x syntax to rspec 2.x/3.x.