Added api module with get_settings method. [ci skip]

This method should be used instead of getting the plone.registry settings
directly.