Unit test/fix for issues with noConflict()

I've encountered some strange issues with bootstrap-datepicker after calling noConflict(), notably that it fails with defaults or locale_opts being undefined on creation. 

The cause is that, unlike the "dates" property, the "defaults" and "locale_opts" properties are always pointed to $.fn.datepicker, which isn't a correct assumption after noConflict() is called. 

I've made these behave more like "dates" in order to get around the issue.  I'm already using these in production where I work, but I think it might be useful to others to get these merged in.