Use QPainter::CompositionMode for all internal blending variables and functions
Fix labels not updating for atlas prints when blend mode is applied
Merge pull request #512 from nyalldawson/blend_mode_fixes

Some blending fixes and code cleanup