Upgrade test libs: backbone, backbone-relational, underscore, qunit.
Add require.js to the test libs; add a separate file that loads tests using require.
Fix tests so they run properly using require (add `window` to the scopes)