Fixed BBCodeParser config API usage
Removed stray ampersand in Requirements (fixes #1809)

Only happens with suffix_requirements=true
FIX Template discovery on themed Layout templates

Was failing when 'main' template only exists in theme,
but 'Layout' template only exists in module.