Adjusted .sh script for killing child processes.
Merge pull request #46 from benpatterson/benp/fix-travis

When finishing test .sh, kill any found child processes.
Version 0.3.1
Add timeout in wait helpers