cleaned up resource buf interface. Added some basic templating to eliminate need for separate mat_buff
Merge branch 'better-buf' of github.com:rwcarlsen/cyclus into rwcarlsen-better-buf