add basic http tests
add basic http tests

This includes tests for a successful load event and an error event. It
currently provides every single parameter, including optional ones.
However, it does test that the request/response headers and body are
sent properly using a mock XHR implementation.

KingPixil/moon,kbrsh/moon,KingPixil/moon,KingPixil/moon,kbrsh/moon