Notifications: log undefined values

- undefined values were skipped, but not logged - this commit adds
  logging
Notifications: limit for life time of poolmessages

- pool messages are deleted from db after certain time limit (now set to
  10 days)