Savestate support

I'm not sure if this is something people will want. Undocumented savestate support. Entering "s" will save state. Loading happens at start up time, the save state filename can be specified on the command line.

I used it to experiment with different game paths without resorting to following the code :-)