fix nightly build error
- added sleep
fix cruise.rb/rspec error on ubuntu12.04+ruby1.9
- add to_s to pid_file for the mock object

cruise on ubuntu12.04 + ruby1.9 package
- sudo apt-get install gcc make git ruby1.9.3 libpcap-dev libsqlite3-dev libglib2.0-dev
- sudo update-alternatives --set ruby /usr/bin/ruby1.9.1
- sudo update-alternatives --set gem /usr/bin/gem1.9.1
- sudo gem install bundler
- ./cruise.rb