Take previously set QC flags into account
Added tests for previous QC values
Refactor assignment to take place on one line
Merge pull request #12 from benjwadams/add_qual_flags

Take previously set QC flags into account