Move all emulation of php functions from Mediawiki::Preparser to Mediawiki::PhpFunctions
Fix tests
Adde new tests of stack for stack functionality
Test for preparser stack were renamed