Permissions API

Permissions/Groups API specification, minecraft/forge patches and default implementation by me and @AbrarSyed
Im just gonna wait for luacs to shpw up and defend himself...