Implement API client, use in tests

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
Bump Godeps

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
Fix server and examples

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>