Workaround possible parallel calls to runtime's loadManifest(dir, manifests)
Fix widget js files to only call runtime.loadClass(...) in the setup method, not at definition time
Merge pull request #273 from kossebau/fixBrokenLoadingOutOfSources

Fix broken loading out-of-sources (firefox)
Only load a class if it has not yet been defined.
Add a the ability to run tests outside of the tests.js script.
This is preparation for using Karma to run the tests.
Add minimal karma tester for PhantonJS.
See tools/karma.conf.js for more information.
Add support for junit output.
Add special check for null values.
In JavaScript, typeof null is "object". The added check avoid treating a null value as an object.
Pass http requests from the tests to a special small server.
Karma has no support for PUT and DELETE. The simplest workaround is to start
as small server and proxy to it for http requests from the tests.