Merge pull request #2 from moheth/master

Generation of JavaScript and TypeScript definition files.
moved definiton files to be generated in lib directory, and loading of javascript file to be optional
fixed require path for definitions file
added save settings for genereate defs option, and updated bin zip file
Added intelliSense events support in definition files.
Merge remote-tracking branch 'origin/master'