Fix ticket queue counts for limited users
Use case-insensitive matching on email address

This patch addresses an issue where a client may have upper-case letters in
their email address. When visiting the client portal to check the ticket
status, previously, the exact same case would be required in the 'Email
Address' box.

This patch remove the case sensitivity for email logins.
Fix subject ticket number matcher (again)
Merge pull request #876 from greezybacon/issue/875

Use case-insensitive matching on email address

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #877 from greezybacon/issue/subject-ticket-number

Fix subject ticket number matcher (again)

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge remote branch 'upstream-1.7/develop' into develop