Improved end-of-game behavior

Reolved #49 - Player death now stops the recording and sends it to the server
Player death also sends user back to main menu.

PlayerShip.as: Modified kill() to stop recording and return player to the main menu
GameState.as: Made recording/pausing code public.