Fleshed out the Content DAO

I continued the work from https://github.com/sakaiproject/Hilary/pull/383 and fleshed out the Content DAO.

I'm submitting this now so it can get in ASAP as it would otherwise become quite the mergetrap. That said, this PR builds on the related content one, so that one should probably be reviewed first.