Added condition for hinting to match brackets

I have added condition to make sure that we are hinting on characters
that can be hinted on when we are in a hinting sessions.  Also added
reference to requirejs used in tern for hinting