fill the date cf inputs when creating tickets/txns

so they don't get missed when user clicks "add more files" or something like that.
Add tests showing date CF value is lost on add attachment submit
Merge branch '4.0/keep-date-cf-value-on-create' into 4.0-trunk