adjusted jasmine tests
adjusted knockout typings; added 'templating' tests; the test file structure was refactored; #312