Fixing a few initial bugs

Ensuring we add ext-debug.js to the list of files first fixes #1
Started to refactor and add some more useful node-unit tests to cover #6
Added a fallback for people who may have used appFile instead of appJs
closes #8

Deleted all old tests and ensured the build now passes