removed node_modules/ to prevent platform inconsistencies
added package.json
removed dependency on the existence of a global appshell variable, which might not exist under certain circumstances:
- replaced appshell.fs.ERROR... with local error codes
- replaced appshell.platform with brackets.platform