Add getMagicWordMatcher function to WikiConfig.

This returns a regular expression which will match a given non-parameterized
magic word.

Change-Id: I89d3aac74315caeda01cb97999b9f7521fbb6ff4
Merge "Add getMagicWordMatcher function to WikiConfig."