Add support for predefined globals.

JSHint lets user configure set of globals used that are defined elsewhere:
http://jshint.com/docs/

This pull request should allow LT users to configure that.

I'm afraid I was not able to compile changes to JS in order to tests them, since I don't have access to lt.* namespaces.