add patterns registry pattern
Merge pull request #400 from plone/vangheem-patternregistry

add patterns registry pattern