Adds missing argument for Ticket::lookup for ajax.

Couldn't find the rebase to this.. actually, I didn't look, I'm still struggling with git and eclipse, would probably have been easier with vim! Anyway, rewrote changes for 1.7.
Update ajax.tickets.php

Missed one.. :-(
Merge pull request #425 from greezybacon/issue/filter-deny-scp

filters: Unpack the user information before filter

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #421 from greezybacon/issue/420

Ensure a ROOT_PATH is defined for CLI apps

Reviewed-By: Peter Rotich <peter@osticket.com>
mysql: Retire old mysql constants

Required for PHP 5.5 compatibility
Merge pull request #878 from greezybacon/issue/ticket-lock-lookup

Fix parameter count to TicketLock::lookup

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #427 from greezybacon/feature/choice-field-prompt

forms: Allow decl of prompt and default for choices

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #417 from greezybacon/feature/revisit-template-layout

Revisit template management page

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #426 from greezybacon/issue/directory-search

search: Improve typeahead search results

Reviewed-By: Peter Rotich <peter@osticket.com>
Allow staff to cancel user lookup popup when creating a new ticket

The change will allows staff to open a new ticket without going through the
"forced" user lookup popup. On cancel the staff is presented with a
simplified user info form with email and name being the only fields
required.
Merge pull request #424 from greezybacon/issue/361

Make using `realpath` safer

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #434 from protich/feature/new-ticket-revisited

Allow staff to cancel user lookup popup when creating a new ticket

Reviewed-By: Jared Hancock <jared@osticket.com>
Don't refer to class Misc in deploy scripts
Merge remote branch 'upstream-1.7/develop' into develop

Conflicts:
	include/mysqli.php
Merge branch 'develop' into develop-next

Conflicts:
	include/staff/template.inc.php
	scp/js/scp.js
Add group definition for ticket-activity-notice
Add profile management page
Add ticket details update for clients
Make client edits optional

Administrators can disable client edits of ticket information. Hopefully,
this will eventually be replaced by role-based ACLs placed on individual
forms and fields.