Add a spec task to Rakefile and run it in Travis

It will run the build task too, to make sure that everything is built before the tests run.