mailutils: fix for double mail sending issue

* Addresses problem with double send emails.  (addresses #1598)

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSession: fix for login referer redirection

* Addes blacklist of links which should not be followed after login.
  (closes #1598)

Signed-off-by: Adrian Tudor Panescu <adrian.tudor.panescu@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSearch: fix for cache timestamp file handling

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>