XWIKI-9874: Remove all the TODOS in the Wiki Module and introduce getLastError() in the script services of that module.

* Also introduce new unit tests for services.wiki.user.
Merge branch 'master' of github.com:xwiki/xwiki-platform