Add Topic#active flag.
Fix mongoid configuration to connect to different hosts.