Bunch of refactoring of the dev environment.
Set up the jasmine testing framework.
Added tv4 interface tests.
Added initialization testing.