Data exporting and importing

*Mostly ported [from CritiqueBrainz](https://github.com/metabrainz/critiquebrainz/blob/master/critiquebrainz/data/backup/manage.py#L111-L273).*