Fixed setting locale for datepicker, when jquery-ui is loaded on page.

When jQueryUI is loaded on page, the datepicker is set to noConflict mode and $.fn.datepicker.dates is not defined for jQueryUI plugin. With this change the dates object is taken from bootstrap-datepicker.
A jsFiddle of the issue can be seen here: http://jsfiddle.net/xBB5x/4063/