Merge branch cloudcast_integration
Conflicts: src/TopologyManager/cyclon.c src/TopologyManager/cyclon_proto.c src/TopologyManager/ncast_proto.c
Ncast now fully supports contexts. Context extended to topo_proto
Peersampler contexts now have type peersampler_context. Context as return value of *init
Removed use of typedef from cyclon_context
Added context support to peersampler_iface and to cyclon peersampler implementation.
Remove some cruft
Fix the cyclon protocol
When the received cache subset is not enough to fill the whole local cache,some peers from the "in flight" cache have to be re-inserted. In this case,the "merge" function cannot be used (because it would insert peers in cacheaccording to their timestamps).
Merge the caches instead of performing a union... Allow to have ordered results
Send a little bit more entries by default...
Make the cache size and sent entries configurable
Cosmetic: remove empty line
Free local cache before re-assigning it
Remove debug printfs
Add a CYCLON protocol... Not tested yes, and still needs some work!