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
Changed all usages of the depreciated ".className" to ".type" that were being used on objects returned from the getTokenAt() method. There are many ".className" references that refer to the name of the CSS class, and all these were left alone. Also, any uses of ".className" in the third party code was left alone as well.
Adding Handlebars file extension .hbs to use html syntax
adding the longer extension model for handlebars
Updated by ALF automation.
Two more tests
Merge pull request #3700 from adobe/alf

ALF Automation
Remove 'deleted' handler.
adding handlebars extensions to test
Merge pull request #3598 from eztierney/iss-3511

[JS Code Hints] Fix Issue #3511