Client scripts: inherit from IApplication and not unnecessarily from ICameraApplication + fix JSHint warnings.
main.js: fix "ReferenceError: instructions is not defined" + JSHint warning fixes.