add methods in BamAlignment

- getAlignmentEnd
- isSupplementary
- computeInsertSize
- fixMateInformation
refactoring
refactoring