Changing the project to compile as a static library.

Removed SDLApplication and main.cpp and changed the .pro to compile as a library.