Allow extensions to use %c

This also allows extensions to use built-in menus if they do not define menus of the same name.
Merge pull request #430 from LLK/extension-default-menus

Allow extensions to use %c