Fixes #346. Multiple databases support in management commands.

I think we need to let the default ContentType router take care of selecting the database.