mattdrayer/api-currentcontentid: GET response returns current content identifier

@martynjames, as discussed here is support for returning the course content identifier -- take a look and let me know if any further changes are needed.
One concern I have here is that this probably is causing many round-trips to the database to traverse down the courseware tree. I wonder if there are any of these "depth=" tricks that we can use. Let me look.