SamHeader: add n_sequences member function

* add n_sequences member function to allow iteration over the reference sequences
* make const member functions const (they weren't for some reason)
* inline simple member functions
Merge pull request #143 from broadinstitute/mc_sam_header_fixes

SamHeader: add n_sequences member function