changing unit test framework from nodeunit to qunit. Core will now apply library within window.core instead of on the window object directly in browser mode.