converted mongoAdapter to use promises instead of q.denodeify()