Merge pull request #8 from xiangli-cmu/master

clean up transporter.go
Merge pull request #9 from xiangli-cmu/master

separate raft handlers and client handlers
feat(build): add initial build script

add a simple build script that sets up a gopath and uses the current git
directory for the github.com/coreos/etcd packages.

There aren't a lot of great alternatives to doing it this way unless we
want to check in all of the dependencies into the repo (which is
actually a good practice probably).
Merge pull request #10 from philips/add-build-script

feat(build): add initial build script
fix(build): export GOPATH

Major mistake. GOPATH must be exported for go get/go build to work.
return error when cannot join the cluster