refactor remoteBridgeSpec to use startPromise
refactor Request to consider 404 as error
improve queries in couchdb
pass get parameters in url