Merge pull request #23 from mattjmorrison/master

Refactoring getOptions
version bump 2.3.0
Fix step 1: for dev-local uses, properly detect local Git branch and commit
Fix step 2: properly detect local Git branch, and just keep pre-provided one if any.
Fix step 3: code cleanup + faster/nimbler use of Git to obtain data (rev-parse and cat-file instead of multiple log calls)
Ah, right, ES5 has String#trim(), keep forgetting that…
Massive expansion of test coverage: 100% of detectLocalGit + numerous missing lines in other files
Makefile gardening to allow for faster, cleaner running of test-cov etc.
Triggering Travis
Fix getOptions test for regular-case detached head state (e.g. Travis)
More regular-case detached head (e.g. Travis) fixes
Stupid typo…
Final fixes for detached head mode (93% cov against 94% cov in branch mode)
Fixed encoding from utf-8 to utf8 for Travis
OK so Travis behaves WEIRDLY on writeFileSync with explicit utf8, let's try with implicit
Merge pull request #25 from tdd/master

Fix direct dev use on a local Git repo + improve Git metadata fetching
version bump 2.4.0.
fixed merge conflicts in makefile.  continuing work to switch coverage tool to istanbul.
fixing test-coveralls make target.
version bump 2.5.0