Add a new slot-based API over the new save slot stuff.
Rewrite the file actions.

The file actions now use the new save slot api, and there's a new
SaveJson function that can returns JSON information from a save
file.