Add onToString callback

Callback added to intercept the text output written to the bound form field. This enables the raw output of the `.toDateString()` function applied to the js `Date` object to be converted and re-formatted without needing heavy-weight libraries like moment.js. (this mod also allows the "western timezone" problem to be avoided)