Partial wrapper around mongodb API which employs promises instead of callbacks.