Refactored the way commands get built and executed to address race condi...

Refactored the way beanstalk commands get built and executed to address race condition issues.
Also exposed BeanstalkCommand.next method to simulate the existing callback style.