fixes for CRM-14393

----------------------------------------
* CRM-14393: State not showing in advanced search
  https://issues.civicrm.org/jira/browse/CRM-14393
fixes to notificate_retry code
notification_log.api incorrect use of if rather than elseif
Merge branch '4.4-deployment' of github.com:fuzionnz/civicrm-core into 4.4-deployment
enotices when enabling logging on fields that don't (yet) exist in the log tables
HR-268 - Activity API - Extract necessary bits so that we re-use in alternative "get" implementation
eNotice fix