Fixed some bugs and added missing features.
Merge branch '1710' of https://github.com/ForgeEssentials/ForgeEssentialsMain into 1710_new-permissions