Added fading between gamestates with a new system that allows shutdown time for systems when switching gamestate.
Fixed a rare crash.
Merge pull request #161 from Revolutionary-Games/122-xgamestate-fading-music

Fading music between gamestates with new system feature.