Move the alternate Title constructor

Moved the MWParserEnvironment:titleFromPrefixedText method to be
Title.fromPrefixedText, a static class method that constructs Title
objects from an environment and some prefixed text.

Change-Id: Ie4657ff0905e41c5988c866223de0bebdf1dcaa3