extracted Title::newFromText() to new method in favour of unit tests
added unit test for WAMPageModel::getWAMSubpageUrl()