Update materials docs
Merge pull request #50 from shama/materials-docs

Update materials docs
0.6.0 - see test.js/readme for current API
Merge remote-tracking branch 'upstream/master'
some generic cleanup stuff