Change DatePickerBase to use GWT format

1. We should convert GWT format to datepicker format instead of vice versa because we don't want the date picker format in the GWT. This is not backward compatible, all code to setFormat for datepicker will have to change.

2. Need to save code value to the underlying element before unloading the Summernote.