support IBoxType as generic interface of BoxResourceType's
make BoxResourceHub easier to be extended
Merge pull request #79 from box/types

support IBoxType as generic interface of BoxResourceType's