Replace deprecated options for the updated version of the bootstrap-datetimepicker lib. Lazy load the library in the front-end as well in order to avoid loading it in all the front-end views.
Contains a new ajax post function that comes from mdo's original code and that I was not able to get rid of.