CRM-13849 - Mailing search should not be restricted to specific mailings when mailing events are specified

Also fixed a few PEAR_Error notices

http://issues.civicrm.org/jira/browse/CRM-13849