CRM-13026 : exclude test mailing jobs from searching

this is the fix for comment by Brian : http://issues.civicrm.org/jira/browse/CRM-13026?focusedCommentId=53010#comment-53010 , this comment also includes a patch which i refered / verified and applied, also done some additions to it.