Fix WorkingSet setting of current project

It wasn't being set when there was no current project.
Project: add function to convert to dictionary
Add archiver to save working set to database

Also added is a simple test script to automate testing of the various
pieces of the project.