OSX Config

Fixed .pro to include SFML libs correctly on win32: and unix: like
operating systems.
Refactor

moved stackedstatemanager from main to it’s own class header and
implementation