add test to register
move node cmd to use api
Merge branch 'master' of github.com:tsuru/tsuru