add collections to our API dumps (bug 996665)

https://bugzilla.mozilla.org/show_bug.cgi?id=996665

This adds a new management command `export_data` which can be used to dump apps and collections together in the same format that apps were dumped before.