Added negative id check to Material.getMaterial(int). Fixes BUKKIT-3414
Negative id values would try to access the array out of bounds and throw an java.lang.ArrayIndexOutOfBoundsException.
Update Bukkit to Minecraft 1.4.7
Merge commit '430e30ee9cbccdbebd299a6c0c12c022fdc3e18f'