use ruby tmpdir library
refactoring
bug fix about timeout option
enhance test case
add test case
add test case
Merge branch 'master' of github.com:fetaro/rbatch