Restructure for CONTENTdm: General cleanup

Move comments to doc strings as appropriate. Simplify duplicate code.
Add comments with questions and ideas.