test cleanup
address various issues based on user feedback
changed the filter for contacts from created_date to latest_sms_date
Merge pull request #113 from mwana/dray-dev

Bug Fixes and Minor Enhancements
move start/end data computation to a utility for DRY
refactor date comparison in list comprehension for the case where no start and/or end date are provided
Merge branch 'dray-dev' into zhcard_dev
remediate an issue where a query by name returns multiple objects, as Contact.name is not unique
Merge branch 'zhcard_dev' into error-logging
amend filtering utility to set end date to a datetime object with an end of day timestamp; filter was excluding end date objs as there was no timestamp
Modifications to referral tests to ensure they pass given the current understanding of the workflow
refactor workflow for referral to take into account CBA nad emergent/non-emergent case better
add check for second responders to ambulance requests + tests
include location parent in referral notification
Merge pull request #114 from mwana/amb-hotfix

Amb hotfixex
Merge branch 'zhcard_dev' into error-logging

Conflicts:
	mwana/apps/smgl/app.py
	mwana/apps/smgl/keyword_handlers/referrals.py