Checking null/empty string for singleDatePicker

If single date picker is enabled and value attribute is not provided then it shows 0000 year due to val having empty string.
Use format string when parsing custom ranges
Merge branch 'master' of https://github.com/cssjunction/bootstrap-daterangepicker into cssjunction-master
Merge branch 'cssjunction-master'