Require thor in Rakefile to make rake spec work

https://github.com/bundler/bundler/issues/2901