Adding some commands, reverting some unneeded changes to lib/XMPPHP