Parses InlineImages for index.php

Otherwise the <img> doesn't get the correct uri for the image.

Reviewed-By: Jared Hancock <jared@osticket.com>
IE8 Fix: SCRIPT1028 - Expected identifier, string or number
ui: Auto focus user lookup search box
Merge remote branch 'upstream/develop' into develop-next
Merge remote branch 'upstream/develop-next' into develop-next
Make variable replacer __call aware

is_callable will report ANY function as available
Add authtoken routine
Add variable replacer callback
Change $recipient to $collaborator on collaborator notice
Proof of concept for authentication
Change AuthenticatedUser user to interface class.

This is necessary to force downstream classes to implement key required
functions.
Split AuthenticationBackend into two -
  - StaffAuthenticationBackend - handles backends supported in staff panel
  - UserAuthenticationBackend - handles backends supported in user panel

Registering a backend at parent level (AuthenticationBackend) will make it
available to both panels.
Split AuthLockoutBackends into two backends - for staff and user.

Monitor failed login attempts and enforce timeouts
Add TicketUser class which implement AuthenticatedUser
Add token (authtoken) based authentication to User authentication backend.
Use staff authentication backends on login and when selecting staff's
authentication backend.