first cut at attrs -> metadata
Merge pull request #423 from scopatz/metadata

Moved material attrs to metadata