Add dateAtStartOfDay method to NSDate
Fix Xcode 5 undeclared selector error for canSendEmail