Data exporting and importing

*Mostly ported [from CritiqueBrainz](https://github.com/metabrainz/critiquebrainz/blob/master/critiquebrainz/data/backup/manage.py#L111-L273).*
Yes, this going to be quite important.