Tern Integration

I've got a pretty good start with tern integration into LT, but I wanted to get some feed back on my progress before I try to do any in depth work.

Some of the points I would like to discuss are my use of the nodejs fork instead of LT's background worker macro, the lt.objs.clients api, how to get the plugin directory during development, and my overall behavior definitions. I decided not to go with the background worker because of the stateful nature of the server, but I would like feedback on that. I also tried to make use of the client api available in the lt.objs.clients namespace, but I am not sure if I am making full use of it. I found the *plugin-dir* dynamic var, but how might I go about testing that it works?

Also, would this be better suited as a separate plugin for the time being?

My next steps are getting docs working and analyzing the code mirror addon so I can pull out all the optimizations in that code. I'll keep trucking along unless someone points in a different direction, so the earlier the feedback the better xD.