Update moment-datepicker/moment-datepicker.js

The original code assumes that if the element has a 'date' class it must be a container that has an element with the 'add-on' class. In my case that causes problems because I use the 'date' class on input elements, which cannot have an 'add-on' child. This change is intended to be non-breaking while allowing the date class to be applied to input elements.