main: add basic functional test
etcdserver: stop server gracefully
functional: add TODO
*: pkg functional -> integration
integration: log microsecond time for integration tests
integration: clean code

remove extra space, rename variables, remove unused function.
integration: retry on setKey to avoid timeout due to bootstrap
integration: add doc
Merge pull request #1318 from unihorn/164

main: add basic integration test