WIKI-367: Can not attach file when add link for wiki page

Fix description:
* Un-register xwikiplorer.js in gatein-resoures.xml (unused)
* Update the way to requirie xwiki.js and xwikiexplorer.js to make sure that the order of loading