Adding patches to the bindings
Two new patches

Added the onNamespaceStart/onNamespaceEnd patches, changed names of other patches to look like event names.
Condensing CppWriter code
Templates to further simplify CppWriter