Fix wrong ticket count on ticket search

Basic search is now limited to ticket number, email address and name.
faq: Don't crash when adding with validation error

On validation errors, `$faq` will be set to something non-null, like
`false`, but will not be an instance of a Faq article.
Merge pull request #808 from NoobPsyBot/develop

bad links fixed

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #809 from protich/issue/ticketcount

Fix wrong ticket count on basic ticket search

Reviewed-By: Jared Hancock <jared@osticket.com>