Refactor specs

* Break out specs to its own file
* Add Rspec rake task
* Move temp directory methods to spec helper
* Do not create a temporary directory if it exists