edx/edx-platform — pull request #1333 by dmitchell (2013-10-11 21:39:13+00:00)
Title: Pull all db (mongo) functions into another file to enable easier replacement

Builds on the other PR for using computed ObjectId

@cpennington @singingwolfboy please review or delegate

[looks like I need to rebase]