Fix filter issue where negative logic prevents matches

The quickList() method will attempt to ask the database to find filters that
might match the incoming ticket information. The idea is that MySQL is
likely faster than PHP. The problem is that it assumes positive logic is
being utilized.

This patch adds all filters with at least one rule with dn_contain
(does-not-contain) or not_equal (not-equal)
Merge pull request #839 from greezybacon/issue/838

Fix filter issue where negative logic prevents matches

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge remote branch 'upstream-1.7/develop' into develop