fix(test): add test for testing loading
fix(test): remove old Karma testrunner
fix(gen): move test into root folder
fix(gen): fix more appPath, other changes

Views and decorators weren't using appPath correctly. The code is ugly
and not DRY at all but will be cleaned up later. gitIgnore also needed
some appPath love.

Moved the gitignore creation to the package section of app/index.js

Also did more work with tests, cleaning them up and testing more things.
They are going to have to have a full rewrite so it makes me sad doing
these small changes.