Fix several issues commiting data to db

orm: Fix detection of statement failure
orm: Fix type detection of InstrumentedList::add
mysqli: Set object-level character set
Don't valid private fields on client submission
Merge pull request #223 from greezybacon/issue/db-char-munging

Fix several issues committing data to db

Reviewed-By: Peter Rotich <peter@osticket.com>
Add ability to set id on navigation elements.
Add field lookup by name
Consolidate user lookup
Add user lookup routines to the dispatcher
Fix odd CSS error
Use the unified user lookup dialog modal to change ticket user (owner)
Require user to create a ticket
Rollback logic to get reply-to email

We do not support multiple emails per user at the moment.  We'll revisit the
issue once such support is added.
Add routine to change ticket owner to ticket class
Add ability to change ticket owner on ticket view
Add get last updated date to user class
Add forms getter
Add update routine
Add updated date getter
Add ticket owner edit/manage
Use the new user modal dialog
Retire old user update code
Refactor ticket open on staff interface

- Remove Client form
- Provide name and email fields for cases where use is not selected (JS
issues)
Change forms to accept data source
Unpack user data for filtering purposes for staff created tickets