Start up an embedded MongoDB server when running in dev or test mode
Find a free port to use for the embedded mongo server