added chain reset() and managed command reset() tests
got rid of RunInterval and replaced it with TickerInterval
Added a fix for the race condition that causes bad file descriptor errors to be thrown when exec.Cmd finishes.

This is required to stream data from one subprocess to the next.

See http://code.google.com/p/go/issues/detail?id=2266 for details