Add a service instance and namespace manager for SNAT

Change-Id: I5dc1cab80e9988c42e5f2526ceed924bee86cafb
Fix for bug 1342397 commiting on behalf of Sanju Abraham.

Change-Id: Ifa8eaf47866ecb653edcc99e91a3e272e80d7d43
Reraise the caught bottle exception

The commit 6df119b5b1 introduced an handler to catch all REST API
exceptions to sanitize them before log them. But it raises the backtrace of
the exception with HTTP error 500 instead of reraise the caught bottle
HTTP error to the client.

Change-Id: If5a9184b59e66c741cd5675f2bcf74fe67ad0769
Move agent_ifmap test to flaky test.
Fix compilation error in test_xmpp.cc.

Change-Id: I519a17a5eef09386c1405b4912b0367672e05ae0
Add connection status update for api server

Change-Id: Iad5bf24a6f55e269d8896d580a6dac4bae09e4d7
Merge "Reraise the caught bottle exception"
Merge "Fix for bug 1342397 commiting on behalf of Sanju Abraham."
Make bgp_stress_test and bgp_peer_close_test fail less often.

A few underlying issues are fixed.

- Remove incorrect assertion in BgpXmppChannel::ReceiveUpdate.
- Disable graceful restart related tests for now.
- Make NetworkAgentMock::Delete wait for XmppConnections and
TcpSessions to get cleaned up.
- Implement NetworkAgentMock::SessionDown by forcing the XMPP
client state machine into Idle state instead of just deleting
the AgentPeer.
- Shutdown the TcpServer right away instead of doing it from
the bgp::Config task when terminating XmppServer/XmppClient.

The change to control_node.cc is cosmetic i.e. task exclusion
policy is unchanged.

Change-Id: I090f08400d9c327df2dd59774c87fac3087fd52c
Implement persistence for xmpp server connection flap info.

Introduce an XmppConnectionEndpoint class which keeps track
of flap count and last flap time.  The XmppServerConnection
redirects methods related to flap information to associated
XmppConnectionEndpoint object.

Note that an XmppConnectionEndpoint is not deleted till the
XmppServer is deleted.

Also make a minor change to send peer name for BGP peers in
the introspect output. There's already another field for the
address.

Change-Id: I7a1f090cb8aac2e27e59a1bc5528f5bf94db70e2
Merge "Add a service instance and namespace manager for SNAT"
Merge "Move agent_ifmap test to flaky test. Fix compilation error in test_xmpp.cc."
Merge "Make bgp_stress_test and bgp_peer_close_test fail less often."
Merge "Implement persistence for xmpp server connection flap info."