[FIX] added check for missing readRecord(bamHeader)
[FIX] added additional test to check whether SAM/BAM header was read before the first record
[FIX] reapplied ea1ad32b81e38844a36904bc50546f3142d84922
Revert "[FIX] reapplied ea1ad32b81e38844a36904bc50546f3142d84922"

This reverts commit 8120b21ed918854bac3eb4a12a87d57240523318.
[FIX] fixed too short cigar count field
[NOP] uncrustified interval tree
Merge pull request #668 from weese/feature/stream-fixes

[FIX] fixed a too short cigar count field, made read_sam/bam more robust against accidental misuse