Fix couple of corner cases in bgp_xmpp_test

- Wait for membership manager to process all events
- Use correct message count in ShowXmppServer test

Change-Id: Ie5153f7feffaa10bf35c50eb11acabaaeb84ba0b