add support for user functions

* move Foxway::$time to Runtime::$time
* move $wgNamespacesWithFoxway to Runtime::$allowedNamespaces

Time: 373 ms, Memory: 24.75Mb
OK (393 tests, 399 assertions)

Change-Id: Id2612dc117282eff4bcc3c92a4cc4a06761642a3