Added the hasPhysics method to the Material class

Added the hasPhysics method to the Material class, to get the block that are affected by gravity.
Unit test : https://github.com/Bukkit/CraftBukkit/pull/1029