Added code comments to IDocument and Document

Change-Id: Idaee34a2b6707c4fd4477e4d606094199ac33986
Reviewed-on: http://review.couchbase.org/40950
Tested-by: Jeffry Morris <jeffrymorris@gmail.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>