Improve MediaWikiFunctionHookIntegrationTest

Re-write of the integration in order for the standard functions to run
through the registered hook

Should now run on 1.19 as well
Merge pull request #23 from SemanticMediaWiki/integration-test

Improve MediaWikiFunctionHookIntegrationTest
Use prepareTextForEdit or prepareContentForEdit

Avoid content reparse during NewRevisionFromEditComplete by fetching
ParserOutput either from prepareTextForEdit or prepareContentForEdit.

https://gerrit.wikimedia.org/r/#/c/95519/
https://gerrit.wikimedia.org/r/#/c/95530/
Merge pull request #24 from SemanticMediaWiki/page-editinfo

Use prepareTextForEdit or prepareContentForEdit
Merge branch 'master' of ssh://review/mediawiki/extensions/SemanticMediaWiki