Wrote a save function for Python's appdb.

1. Uses JSON.
2. Also fixed a path bug.
Configure now gets API versions and saves appdb.