Merge pull request #365 from simong/filescleanup

Removing files when upload files + Clean job
Merge pull request #383 from simong/relatedcontent

Related content
Added a content DAO
Issue 251 - lastmodified fix
Re-enabled lastModified test + used constant for visibility.