Linux / OSX support via SDL2

A slight cleanup of exidl's SDL2 stuff and madjawa's corresponding cmake stuff. Hoping I didn't break anything in the merge of the ded server/normal game main files.

This should be looked over and confirmed to work properly on linux before anyone even thinks of accepting the pull request.