Fix maximum recursion depths in certain testing environments.

This is caused by applying the patch multiple times when the ZCML is loaded multiple times.
Merge pull request #1 from 4teamwork/jone-fix-multiple-patching

Fix maximum recursion depths in certain testing environments.