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