Added events on show and hide of Calendars
AMD version

avoid global use
Fix event unbind in multiple datepicker instances.

This commit creates a private copy of the datepicker proxy for
unbinding.  Now, .hide() will only remove this instance's event
handlers.
Switch document back to mousedown.

Switch the global hide listener back to mousedown.  This effect is nicer
when switching from one datepicker to another, as it won't temporarily
display both.  It also fixes problems where click starts another
datepicker input but ends somewhere outsideClick won't trigger.
Handle hiding when tabbing between controls.

Add a focusin event handler to close the datepicker when focus changes
to another input, such as when tabbing.  Previously, inputs would be
left open.
read locale.firstDay from momentjs config
Fixed retrieval of the current calendar when a time control is clicked.

The old implementation actually found two (2) calendar objects and assigned the collection of these two calendars to the 'cal' variable. The weird thing was that the two calendars it found were either both left calendars or both right calendars. In both cases, either left or right, the two calendars that were found by the old code were: The first one being a calendar reflecting the state of that calendar (the one clicked on) BEFORE the state change (before you changed the time controls) and the second calendar was the same calendar AFTER the state change. When the 'find the hours control given the calendar in the cal variable' part of the code was hit, the result was a collection of the hours controls from both calendars in the 'cal' variable. Unfortunately, the first one in the list was the one reflecting the state of the calendar BEFORE the event happened so ... the end result was that the code just set the state of the calendar's time controls back to what it was before you interacted with them. Very odd.

This code seems to me to be simpler, more direct, accomplishes the intended purpose of the original code (I think) and has the added benefit of not exhibiting the bad behavior that I observed in which you could not change the time via this widget/control.
Merge pull request #326 from mcurtis/master

Fix #321 Cannot select the 'MaxDate' in 'To' date form
Merge pull request #333 from pavlovich/fix-calendar-retrieval-issue

Fixed retrieval of the current calendar when a time control is clicked.
Merge pull request #324 from cesutherland/fix/#323-closing-second-picker

Fix/#323 closing second picker
Bump version for bug fixes
Bump version for bug fixes
Add css file to bower.json

`main` section of bower.json should include all files that are needed to install the library as dependency.
Merge pull request #352 from krtek/patch-1

Add css file to bower.json
Make date inputs readonly instead of disabled so click will get triggered in firefox
Change cursor when hovering over date inputs
button small class added for bs3
Update moment.js dependency, use the correct name.

Related to #357.
Merge pull request #360 from MaikuMori/patch-1

Update moment.js dependency, use the correct name.
Merge pull request #358 from emamut/master

button small class added for bs3
Merge pull request #355 from marshals/master

Make date inputs readonly instead of disabled so click will get triggered in firefox