Swap red/blue pixels so demosaic works properly
Merge pull request #650 from pedrocr/fix-nx300-decoding

Swap red/blue pixels on the NX300 so demosaic works properly
Get dcraw code ported for SRW 32772 compression
Improve the SRW decode error exception message
Merge pull request #651 from pedrocr/rawspeed-srw-new-encoding

Rawspeed SRW new encoding
Histogram: replace dt_iop_roi_t with new dt_histogram_roi_t
Spots IOP: legacy_params(): adapt for latest mask changes
dt_masks_legacy_params(): refactor v1 -> v2 to a function, prepare for v3
Needed preparations for loading of uncropped, unscaled (B/W) raw images
rawprepare: new IOP, no-op (passthrough)
rawprepare: allow tiling

FIXME: verify this!
dt_imageio_open_rawspeed(): break everything! Stop scaling (B/W).
rawprepare: scaling for raw mosaic buffers
rawprepare: scaling for floating point buffers
Deflicker (histogram of: source raw data): fix (no scaling)
Disable "Create HDR": FIXME: this function needs adapting (scaling (B/W))
rawprepare: prepare for using blackLevelSeparate
rawprepare: raw mosaic: sepBlack
Rawprepare IOP: GUI
rawprepare: scaling for raw mosaic buffers [SSE]