Handle several special characters.

These affect the javascript parsing and/or queries:
   backslash, apostrophe, and double-quote.

Issue with click through on charts
* Reset the date fields, not clear them.
* Make sure hidden fields are cleared (better logic for xtype comparison)
* Ensuring that all non-system form fields are cleared.