Add player collision API

Add an API to control whether players can collide with other entities, such as mobs and projectiles

Implementation:
https://github.com/Bukkit/CraftBukkit/pull/776