Massive SDL, GLEW and GL update

Remove GLEW dependency entirely.
Remove GL linkage dependency from the core library.
Switch to SDL2.
Simplify example interface.
Fix issue with HSL color calculation.