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)
Rename 'name' to 'variable' on the form designer
Fix validation error display on ticket open
Warn if leaving unsaved sorting preferences
Required 'name' if 'required' is set

If a form field is required, then a name will be necessary in order to plumb
up the API.
Fix various phone number issues

Fixes #77
Make phone number field configurable

Fixes #23
Merge pull request #84 from greezybacon/issue/form-issues

Corrects various form designer issues

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #96 from greezybacon/feature/phone-field-config

Make the phone number configurable

Reviewed-By: Peter Rotich <peter@osticket.com>
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
Fix regression in filter processing

Filters should not be run alongside basic ticket validation
Fix slight regression on new ticket by staff

The typeahead for user email address was dropped somewhere along the way
Upgrade to Font-Awesome 3.2.1
Merge pull request #102 from greezybacon/hotfix/ticket-validation-filter

Fix regression in filter processing

Reviewed-By: Peter Rotich <peter@osticket.com>
Fix regression saving ticket priority
Fix regression in custom date fields

When localized date formatting was implemented, saving of those dates in the
database was broken. This fix correctly handles custom date fields to/from
the database.
Add company information form

And extend the information to email templates
Merge pull request #106 from greezybacon/hotfix/ticket-priority

Fix regression saving ticket priority

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #101 from greezybacon/hotfix/custom-date-fields

Fix regression in custom date fields

Reviewed-By: Peter Rotich <peter@osticket.com>