Refactor

  Just move things around
Fix constructor

  Return the object
Fix _getTemplatePath
Add environment variable to identify tests
Remove test related code from module
Refactor get output to variables before callback
Fix hook (add software list to commit)
Add parser for status output
Refactor tests (rename tests)
Reset modified files before changing branches
Refactor variable names and log format
Add `getBranches`
Filter empty lines before parsing output
Add test for `getStatus`
Add `previewSnapshot`
Fix typo
Add functional tests
Release v1.1.0.