Implemented the actual tab completion for commands and playernames.

Each command is reported only if the player has the permission to use it.