Adjust JS for date(time) pickers to be configurable

This change should allow Oscar projects to configure the options that
get passed to the date widgets.
Format datetimes to hide time if it is midnight

This simplifies the display of offer date ranges as you don't get all
the "00:00:00 +0000" gubbins with each datetime.