Update jquery.simple-dtpicker.js

Moved code to 'Allow closing of Date Picker when a date is selected, and Date Picker is not inline and when the time picker is hidden/not used.' into click handler of a day cell as suggested by the original author mugifly.