Allow the reindex script to take and instance slug

Rather than reindexing all databases, if you give it an instance slug it
will just reindex the given instance.
Add script for importing an instance from JSON