advancedcmd doens't work atm, apparently
function.func_code is a thing but adding co_consts isn't an attribute of
that.
Tested abot, seems to work well.
Contains @simplecommand and @basecommand
Slightly alterred simplecommand, made both display the command's
required permission when displaying help if the sender has the
permission "utils.showpermission".
Also a small tweak in misc.py's join listener.