Merge pull request #1 from pfarland/js-code-intelligence

Fix JSHint warnings and exclude tern and acorn related files from grunt.
new guessing
Add guesses to code hints
remove requestProperties
more grunt cleanup
Remove left over debugging code
fixes #2 and #4 - function type hinting

Display the called properties name instead of "fn".
don't display "?" if the function type could not be determined.
Merge pull request #9 from eztierney/iss-2-4

fixes #2 and #4 - function type hinting
Update to latest tern - fixes issue #3
Added Goto Definition.
Code cleanup from Erik's review.
Cleanup grunt complaints.
Add StringUtils.htmlEscape() back in.
Remove "types" from a tern query since types are not hinted for identifiers or properties.
Hook up initial requirejs support.

Sync to new version of tern, which has support for simplified common JS modules, which brackets uses.
Enable the requirejs tern plugin.  Had to modify how we deal with file paths a bit - we were leaving in the leading '/', which made things look like an absolute path, and then tern would view '/test.js' as a different file than 'test.js'.
Some cleanup - add logging for errors from tern, delete some old commented out code.
Merge pull request #16 from eztierney/js-code-intelligence

Hook up initial requirejs support.
log error for tern 'type' request
Cleanup - mostly deleting unused code
Some unit test cleanup
Fix timing problem.

Could end up requesting completions before the tern server was initialized.
Use a $.Deferred so that we don't request any hints until we know the server has been initialized.
Fix for issue when multiple requests were made

Were creating a new Promise for each request, but only resolving the last one.  Now check to see if we already have a promise for a particular request, and return the already existing one if there is one.