Make host and port for mongodb configurable

This change makes it possible to connect to an instance of mongodb on
a different server than the one SAM or Katello is running on.