Introduce smart mode ($wgLinkTitlesSmartmode).

Smart mode generates aliases for page titles if a case mismatch is
detected.