Update for setDate and changes for Issue #568

We not needed converting string to date in function _setDateDatepicker, it has converted in next functions. Construction "date = new Date(date);" on error create empty date and "tp_date = new Date(date.getTime());" put to tp_date system datetime!