fixes #1816 - when timemachine on don't use edit mode
Merge pull request #1828 from dotCMS/issue-1816-timemachine-expired-content

fixes #1816 - when timemachine on don't use edit mode