CLI exits on first command when a credential is invalid.

Currently CLI goes back to a normal command line loop showing a
prompt even when a previous command failed because of an invalid
credential. This is confusing as it can appear as if authentication
was successful and CLI was ready to take commands. The new behavior
is that CLI will exit upon a first command if a credential is
invalid, displaying a corresponding error message.

Fix MN-718

Change-Id: I2ceb940f35c7418edee3601a7fc55874e24436dd
CLI exits on first command when a credential is invalid.

Currently CLI goes back to a normal command line loop showing a
prompt even when a previous command failed because of an invalid
credential. This is confusing as it can appear as if authentication
was successful and CLI was ready to take commands. The new behavior
is that CLI will first run a test command to see if a credential is
valid, and exit right after if invalid, displaying a corresponding
error message.

Fix MN-718

Change-Id: I2ceb940f35c7418edee3601a7fc55874e24436dd
Merge branch 'dev/tomohiko/mn-718/20131031' of https://github.com/midokura/python-midonetclient into dev/tomohiko/mn-718/20131031
Added an error handling for connection refused to API server.

Change-Id: I4eb640e3072f880491438985872daae425e3296d
Added an error handling for connection refused to API server.

Change-Id: I4eb640e3072f880491438985872daae425e3296d
Merge branch 'dev/tomohiko/mn-718/20131031' of https://github.com/midokura/python-midonetclient into dev/tomohiko/mn-718/20131031

Conflicts:
	src/bin/midonet-cli

Change-Id: I9b966fd8574bea658e1e679e37bea8c25c6bebbc
Merge pull request #82 from midokura/dev/tomohiko/mn-718/20131031

CLI exits on first command when a credential is invalid.
Revert "Merge pull request #79 from duarten/master"

This reverts commit f142ff26ca5ea93d190527b748e03319271af775, reversing
changes made to ce9d08c8844c2e58a7bf24388e7c0f998a2509c4.
Merge pull request #84 from davecahill/master

Revert "Merge pull request #79 from duarten/master"
Releasing 1.3.0-rc1
Merge pull request #79 from duarten/master

Adding support for admin_state_up flag
Added support for the admin_state_up flag.

Change-Id: If4da6581dc2d3e9426d2a085e2cbc3d88ba9cd75

Conflicts:

	doc/midonet-cli-router.1.ronn
Enable deferred creation of router ports.

Change-Id: I41ed18a54a420d411cec346d167d385016685545
IP Addr group support

Signed-off-by: Brandon Berg <bberg@midokura.jp>