Fixed issue when using custom RequireJS loader
Merge pull request #374 from zaggino/master

Fixed issue when using custom RequireJS loader
set token.escaped properly for sync highlighting. see #375.
clean up new module check

- custom setup of RequireJS provides 'exports' variable without 'module'
  function loadExtension @
  https://github.com/adobe/brackets/blob/master/src/utils/ExtensionLoader.js
Revert "set token.escaped properly for sync highlighting. see #375."

This reverts commit a7ab0f408e0f5645dd5bc6c308895a90dca54274.
pass error to callback on highlight error. fixes #377.
Automatically rewritten for npm.