Merge pull request #54 from tritania/fixes

Fixed player casting, and modified getLocation for entity.
Inventory click event (whew), and bugfixes needed to make that happen
Merge branch 'master' of http://github.com/GraniteTeam/Granite
Very simple permissions system. THIS SHOULD IN NOW WAY BE USED LIKE A PERMISSIONS PLUGIN!
Fixed a java8 specific causing the building of the project to fail.