Refactor export and import to work dynamically

Exporting and importing now works on all columns in the Attendee
database without needing to special-case specific columns. It instead
modifies them based on their type.

Foreign keys are just exported as keys, but nothing breaks horribly.