Jasmine/RequireJS compatibility

Jasmine tests start on window.load.  Safari and RequireJS fires the window.load event before RequireJS has finished loading all the files.  Thanks to @provegard for developing the idea of an oustanding file counter and a check in the jasmine adapter to ensure that requirejs is finished before starting the test runner.