Separate out per-base-qual and mapping qual, also minor enhancement to P...

...ileupData->new

@AndyMenzies can you cast your eye over this please, whitespace cleanup has marked licensing as changed sadly