Refactor CLI spec

Refactoring again :)

Main points are:

* Extract some specs which are related to project rather than `CLI` to `spec/project_spec.rb`
* Run CLI specs in isolated temporary directory (fixes #119)
* Replace redundant `File.open` and `f.puts` with `FileHelper#create_file`