Remove direct dependency on Products.statusmessages
Use api.portal.get_localized_time
Use api.portal.get
Refactor tests

Use plone.api to get views