process content document regardless of its type. various small cleanups
more cleanup: less object properties
Merge pull request #60 from dbu/process-all-document

process content document regardless of its type. various small cleanups