MDL-40058 Events: added unit test
MDL-40058 mod_wiki: modified wiki_restore_page api to accept version and context