Moved texture scaling to separate file
Parallelized texture scaling
Added Global Threadpool to common
Adjusted Texture Scaler to use global threadpool
Eliminated C++11 lambdas
Only scale textures which were never invalidated
Merge pull request #1616 from PeterTh/master

Add global threadpool, use it for texture scaling parallelization