Fix issue #641
Fix issue #641

This removes the reference to the global moment function. A custom masking function must now accompany any custom formatter configured via setDateFormatter. This will prevent moment.js from breaking pages that use the default formatter.

xdan/datetimepicker,xdan/datetimepicker