Ensure all mongo processes are terminated during daemon shutdown

 * Save ports when starting mongod and mongobridge processes
 * Ensure mongobridge is terminated
 * Use a callback to synchronize shutdown process