PixelBase and depth-agnostic pixel operations including light-type (additive) and gradient-type (average) blending, as well as alpha-blending. Some pixel bit-depth specialization for later serialization.
This commit on master is broken, merging with dev.
Merge branch 'master' into dev

master branch refuses to merge the actual files from dev.