Add guard for X11 related initializations.
Implemented PolySDLCore setCursor.
Put cursor code in anon namespace.
Fix to make cursor changing a bit more responsive.
Fix potential memory leak.
Merge pull request #368 from christopherreed/linux-SDLCore-setCursor

[Linux] Implemented setCursor in PolySDLCore.