updated __init__() to check for presence of either connection or person and fixed bug in flush_responses()
updated __init__() to check for presence of either connection or person
and fixed bug in flush_responses()

dimagi/rapidsms-core-dev,lsgunth/rapidsms,dimagi/rapidsms,lsgunth/rapidsms,peterayeni/rapidsms,eHealthAfrica/rapidsms,ehealthafrica-ci/rapidsms,eHealthAfrica/rapidsms,dimagi/rapidsms-core-dev,peterayeni/rapidsms,rapidsms/rapidsms-core-dev,eHealthAfrica/rapidsms,catalpainternational/rapidsms,catalpainternational/rapidsms,ehealthafrica-ci/rapidsms,lsgunth/rapidsms,catalpainternational/rapidsms,ken-muturi/rapidsms,ken-muturi/rapidsms,caktus/rapidsms,peterayeni/rapidsms,dimagi/rapidsms,rapidsms/rapidsms-core-dev,unicefuganda/edtrac,unicefuganda/edtrac,caktus/rapidsms,peterayeni/rapidsms,catalpainternational/rapidsms,caktus/rapidsms,unicefuganda/edtrac,ehealthafrica-ci/rapidsms,ken-muturi/rapidsms,lsgunth/rapidsms