clean up
fix test
cleanup print
use var()
handle readInfo error
clean getMachines
add test package. do not compile test codes with etcd
fix travis
handler version at /version
also return API version
make raft and etcd server
add newJoinCommand func().
make ttl test not so strict. testing server is not fast
use type inheritance
go flavour
wait for exit and release resource
remove unused struct
Merge pull request #124 from philips/xiangli-cleanup

Cleanups from #112