Merge pull request #48 from srl147/devel

pb_align: check flagstats before AND after spatial_filter, fix for singl...
add a count to the ID tag in new @PG lines to ensure ID is unique
Merge remote branch 'srl-local/devel' into devel
Refactor code for adding BAM header PG records (and only add a single record for spatial filter)