support remote contexts
Reenable remote loading tests
put more into the try finally block
double check for http client
Add TestUtils class
Add stubs for TestDocumentLoader methods
Disable remote doc tests again

Need to think about how to easily emulate the necessary elements for
remote document fetching tests
updated new tests and fixed core to match spec changes.
Merge remote-tracking branch 'upstream/master' into namespaces