Add MidoApiConnectionRefused exception.

Throw and catch a MidoApiConnectionRefused exception insead of
a socket error. _ensure_application() will now raise a
MidoApiConnectionRefused exception as well. We could have Neutron
catch this if an api call fails, so that neutron doesn't crash if
an api call is made while the midonet-api is down.