Start to make planex a bit prettier
More spam reduction

Also factor out the 'get_dotgit_dir' function
Use a git hash rather than HEAD for most operations

Should fix any race conditions there may be.
Also fix stupid error in the dates.
Fix test cases, and fix one problem the tests correctly identified.
More prettyness, and optimisation.
Merge pull request #63 from jonludlam/pretty

Pretty