updates for managing simple ctx associations and entities in community
context database.
broker example updated for community ctx tests