(#136) - WIP - get tests passing against cloudant

So far it seems this can be solved just by changing our tests plus adding maybe a few workarounds to http.js for edge cases (or just skip them in the tests).
I think the 10000 here comes from our Mocha test defaults.