use uproxy-build-tools & use typescript tests

* Moved third party into build tools (it's was just the jasmine DefinitelyTyped jasmine interfaces)
* Added npm-dependency for build-tools
* Made tests into typescript files
* Moved tests to be next to what they test. 
* Used github's Apache2 LICENSE file

TESTED: grunt test

(Same as https://github.com/uProxy/socks-rtc/pull/58 but against master now that iislucas has been merged.)