BBCodes\Configurator: added support for some options in addCustom()
TemplateParser: fixed bug occuring with nested xsl:choose elements