Added hook which allows metadata-sensitive block material

This is a fairly aggressive change, but will allow many mods to lower block ID usage by combining blocks even though the materials differ.

Please let me know if you'd like to see something changed.