Devoncarew checked mode

- fixes for running in checked mode. Dartium sends us real dart objects at times when we expect JsObject proxies.
- added support for converting JS `FileError`s to Dart `FileError`s

@financeCoding 

I don't need a version roll for this CL; I'm hoping to get a fix in for listening to window events.