Address issues found by @gruehle and @WebsiteDeveloper. In particular: 1) use jQuery `done` instead of `when`; and 2) don't treat a failure to load a related stylesheet file as a catastrophic failure in `_openDocument`.
Initialize the domains exposed by Inspector synchronously.
Add a unit test for `Inspector.connectToURL` and `Inspector.disconnect`