(Issue 735) Move lastModified up to API for discussions and principals
Merge pull request #735 from mrvisser/issue-735

`lastModified` should be managed in API instead of DAO