Separated phases of matter from materials

Also fixed Issue https://github.com/TheDarklingWolf/Cataclysm-DDA/issues/417.

I overloaded made_of() with the new phase enums as arguments to minimize the number of changes that needed to be made to the existing codebase.