Date formatting was not obeying the 'format' option for datepicker

Date formatting was not working - only yyyy-mm-dd format (the default) was working previously.

This PR should fix that so it obeys the format from the datepicker() widget.

Also... now you no longer need the base.js file which had the Date.format function, and "parseDate" function which aren't really needed.  datepicker() has it's own date formatting stuff which should be enough.

Also, why bundle datepicker() in the base.js ?  Can't it be included via bower?  You're doing that for the timepicker...