Implement CouchDBDatabank.prototype.scan, which is now required by databank.

Not tested (except with the existing databank scan test, which is incomplete).