change Get() interface.

* timeout is time.Duration (not int)
* Get returns value as string (not []byte)
add agent.go and more tests.