Fix missing table prefix in materialized view def
Fix possible serious errors in dynamic form fields

Fix dropping of materialized view when variable name is changed

Ensure view exists before merging updates

Prevent possible sql injection error in field name used in the materialized
view.

Prevent possible xss error in the display of the field label and variable
name in the admin panel.
Fix ticket queue counts for limited users
Merge pull request #389 from greezybacon/issue/298

Fix ticket queue counts for limited users

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #388 from greezybacon/issue/mat-view-bugs

Fix possible serious errors in dynamic form fields

Reviewed-By: Peter Rotich <peter@osticket.com>
Use backticks rather than quotes

For use in the materialized view column names
Ensure FormField::toString() returns a string

Fixes #390
Merge remote branch 'upstream/develop' into develop-next
Export custom fields with the ticket queue export

Also add in the user email address after the user name.

This patch also adds an ::export() method to the FormField() class which
allows a field to define how the data should be formatted when exported.
No longer require a priority for help topics
Show extra forms for help topic first

Extra forms associated with the help topic are now shown above the ticket
details form on both the staff and client interfaces.
Merge remote branch 'upstream/develop-next' into develop-next
bug:Fix bug where initial collaborator won't get emailed due to missing checkbox.
Log internal note whenever a collaborators are added or removed.
Add ability to preview the list of collaborators
Bug fixes and enhancements
Merge remote branch 'upstream/develop-next' into develop-next
Merge remote branch 'peter/issue/collaborators' into develop-next

Reviewed-By: Jared Hancock <jared@osticket.com>
Pre-select default priority
Allow autocomplete on email address