Do not assume that plone.registry is installed

Wrap the import of the IRegistry interface in a try/except as plone.registry is not part of plone 4.0 or 4.1