add web tests

Add tests to validate the usage library running in a dart:html context.
Merge pull request #36 from dart-lang/devoncarew_web_tests

add web tests