fixed nested template example and merged custom tags and templates

Fixed the recursive call for the nested template example
Merged _customTags and _customTemplates to _registers.  calling
.regsiter will do just that.