guilds, closes #377

Basic guild framework and API commands. Guild perks TBD.