updated notification search logic

Included user id in Notification search, and refactored delivery time search range. See also https://extensionengineering.slack.com/archives/daily/p1415300961000047