Add cache for server discovery

This adds a discovery cache for xmpp-ftw-buddycloud speeding up both channel server and media server discovery times.

Fixes #186