make tests use nodeunit and prepare for coverage
no need to have HOME stored outside main function, just closure up withinHome
move main file to lib/ for coverage
new package scripts for coverage and improved dotfiles for npm, travis, and coveralls
badgify
rename history and add changes for 0.2.2