Better XML import and export function for issue 10

Closes #10
Closes #31
Exclude deleted lists from import