Added EntityHints unit tests
Fix Issue #3511

when inserting a hint which is not a valid property name, such as 'my-key', insert the hint as ["my-key"] instead of .my-key.

insertHint now runs the hint through the acorn tokenizer to see if it looks like a valid property name.  If it's invalid, it replaces the '.' with brackets.
Refactored some code in Session.getType() - pulled out a method to find the leading '.' in a property lookup, and use that method from the insertHint logic as well.
Added 3 new unittests to test this new behavior.
Better error messages for AddMenu and AddMenuItem
Update tern - fixes #3606, #3605

Also update acorn, as latest tern needs the latest version of acorn.

Codehinting tests all pass, and performance does not seem to have degraded.
Re-instrument after document changed.
Delete instrumentation cache when document is deleted.
use call() for better performance

call() performance twice as better than apply()

http://jsperf.com/call-apply-segu
Added some more unit tests + cleanup fixes
Use ViewUtils.getFileEntryDisplay() on creating new file

On creation of a file item, make sure we use
ViewUtils.getFileEntryDisplay() to set the right extension styles.
prime pump to improve first hint performance
bypass pump when unittesting
Adding Handlebars file extension .hbs to use html syntax
adding the longer extension model for handlebars
Two more tests
Remove 'deleted' handler.
adding handlebars extensions to test
Merge pull request #3598 from eztierney/iss-3511

[JS Code Hints] Fix Issue #3511
Update acorn and tern.

Acorn is now version 0.2 and tern is 0.1
Merge pull request #3657 from adobe/glenn/issue-3652

Re-instrument HTML after document changed
Fixes after review