Reduce code duplication in Sam API

make Sam inherit from both SamHeader and SamBody to avoid the
duplication of code and simplify writer and all other APIs.

This closes issue #16
Merge pull request #20 from MauricioCarneiro/mc_sam_multiple_inheritance

Reduce code duplication in Sam API