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
Merge pull request #5 from jmikola/PHP-final-test-suite-shutdown-fix

Ensure all mongo processes are terminated during daemon shutdown