Legacy database import

This is not yet thoroughly tested.  I've done my best to interpret the existing data, but there may be some mistakes, so it would be good for Alon to spot check.

I've archived the fields that aren't represented in our schema in serialized fields in case they're needed in the future, so there hopefully shouldn't be any loss of data.