filters: Handle all filters in PHP

Turns out that the query to fetch a "short" list from MySQL is slower than
just running all the filter rules in PHP
performance: Improve performance of ticket queue pages
Fix regression displaying errors on ticket form
Fix bug where dispatcher would corrupt matched parameters if they have the
same value.
Add collaborator callback to get fetch user on lookup select.
Merge pull request #301 from greezybacon/issue/slow-filters

filters: Handle all filter rules in PHP

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #302 from greezybacon/issue/299

performance: Improve performance of ticket queue pages

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #305 from protich/issue/collabs

bug : Fix dispatcher

Reviewed-By: Jared Hancock <jared@osticket.com>
Revert "performance: Improve performance of ticket queue pages"

This reverts commit e818fd2c4b589b4f70b369371d198d7e0c498c74.
Merge pull request #303 from greezybacon/issue/form-validation-errors-again

Fix regression displaying errors on ticket form

Reviewed-By: Peter Rotich <peter@osticket.com>
auth: Implement backend user searching

Requires authentication plugins to implement a new AuthDirectorySearch
interface to define the two functions
Drop support for native mysql extension (deprecated as of PHP 5.5.0)

Starting with v1.8 osTicket will require mysqli extension.
Merge pull request #309 from protich/issue/mysql-driver

Drop support for mysql extension (deprecated as of PHP 5.5.0)
Here goes nothin!

Reviewed-By: Jared Hancock <jared@osticket.com>
Don't force password change when password is not provided.

This might happen when the user is being authenticated externally e.g LDAP.
Merge pull request #307 from greezybacon/feature/client-info-search

auth: Implement backend user searching

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #310 from protich/issue/passwd

Don't force password change when password is not provided.

Reviewed-By: Jared Hancock <jared@osticket.com>
Allow addition of collaborator from auth backend
Time display issue, rebased for 1.8dev
Merge pull request #314 from clonemeagain/develop-next

Time display issue, rebased for 1.8dev

Reviewed-By: Jared Hancock <jared@osticket.com>
forms: Allow user name and email to be blocked

Fixes a regression in 1.8 where user names and emails submitted via the web
interface would not properly be detected by the filter system for rejection.

References:
http://osticket.com/forum/discussion/75456/v1-8-ticket-filter-for-banning-domain-doesn-t-work