Implement RequireJS in tests. Add html test runner.