update textmate project properties file

Define $TM_PROJECT_DIRECTORY variable so it can be
used in TextMate JSLintMate bundle options to specify
path to the project .jshintrc options file.

see: http://rondevera.github.io/jslintmate/
add _gaq to globals jshint won't warn about
allow scriptingAPI to make functions in loops

Should we add: loopfunc: true to .jshintrc ??