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()

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