added code to kill stale mininet processes
imported check_output
Merge pull request #317 from cdburkard/patches/cleanup

added code to kill stale mininet processes