Revert "Cache the uniform locations for the display and checker shaders"

This reverts commit 2eb875ee557c89f2bc910deede33401c630d1176.

BUG:332389
Revert "Revert "Cache the uniform locations for the display and checker shaders""

This reverts commit da012e477d832dd0bd00fea10c970de05ca1f386.
fix conflict
kfiledialog=>kofiledialog
fix compile on osx
rename FileDialogType enums
clean up stencilboxdocker
update minimum cmake requirements to 2.8.10, use cmake built-in FindGLEW.cmake
KoFileDialogHelper=>KofileDialog and API change, add ptr() method to access qfiledialog
hide file extension patterns from main import / open file dialog
fix compile
Fix predefined image sizes

Patch by Torste Aikio. Thanks!
Do not remove table prefix when it is needed

BUG:332329
Revert "update minimum cmake requirements to 2.8.10, use cmake built-in FindGLEW.cmake"

This reverts commit ba649d767b65fbdb3ea9abbde32641baba94652c.
backport FindGLEW.cmake from cmake 2.8.10
remove debug

GIT_SILENT
Revert "Fix predefined image sizes"

This reverts commit 8efe031a21cd2330a6b1d96a8f892e7f28fdce7d.
Remove memory leak
Remove KisImage::init() method

The init method was useful when it was called from more than place, but
that is no longer the case, so fold the code back into the constructor.
Fix memory leak