Discard the time component in min/max date setting to include same-day selection

To reproduce, the issue call `setMinDate()` or `setMaxDate()` with a time component (e.g. `moment('2014-06-01 06:00')`.). When you select from 2014-06, June 1 will be disabled when it should not.

Fixes #409 and #337