Use factory class to construct SpecialEntitiesWithoutPage instances

This is a first step using the new mediawiki special page registration
process with callback functions. It moves the global state access from
the special page classes into the factory class.

Change-Id: I470687f38573af85494371b8f5f12da32e82b6eb