Add v2 unit tests.
Merge branch '0.2' of https://github.com/coreos/etcd into v2-handler-tests

Conflicts:
	test.sh
Merge pull request #251 from benbjohnson/v2-handler-tests

v2 Handler Unit Tests
refactor move http status logic to server.go