Adding first steps of DI to replace omnipresent Core object someday

Still WIP, currently the MetricRegistry and MongoConnection is injected,
      more to come.