Set up testing framework

* Adds Jasmine (under MIT license) to third_party/
* Moves existing tests into extension_tests/ folder