[Post-processing] logic rework, cleaning, & prelim shader code for palette textures.

Just tidied up the code, reworked some logic for the tone mapping, sharpening, and scaling. Also adding the preliminary shader code for palette textures. I still have to do the code for the annotations yet though. (Need to upgrade from VS2013 Express, it has no ALT support >.>)

Example screenshot of the tone mapping & bloom with demo settings in Divinity: OS here: https://flic.kr/p/pNgf8e

-------
I messed up a previous fork sync, so I closed the last pull request, and just opened a fresh one.