api: fixed url for swap handler.
cmd/swap: added test to verify that swap is a command.
cmd/tsuru: registering swap cmd.