fix index on "host"
host switch mode: fix "back to game"

* edit.xhtml
PMG clean code

* server-simulation.js & server-test-language.js : get rid of arguments.callee...
Merge remote-tracking branch 'origin/master' into glassfish4

Conflicts:
	wegas-app/src/main/webapp/wegas-pmg/scripts/server-scripts/wegas-pmg-server-simulation.js