Adds contains function to advertise
Merge branch 'master' of github.com:conwetlab/wirecloud-pubsub