Update js/bootstrap-datepicker.js

If programmers use the class 'datepicker' to select the elements that should have the datepicker, then under certain conditions the datepicker opens up multiple times. This patch should fix that.
Only run hide function if picker is visible

Fixes #310
Date formate can now be set in the locals file.

The Date Formate is now related to the language.
Update js/locales/bootstrap-datepicker.fr.js

Specify default format for French language.
Updated readme to cover language changes
Now supports full IETF codes & 2 letter codes

The IETF code (eg  "en" for English, "pt-BR" for Brazilian Portuguese) of the language to use for month and day names.  If a full code (eg "de-DE") is supplied the picker will first check for an "de-DE" language and if not found will check for a "de" language.
Update js/locales/bootstrap-datepicker.it.js
Fix bug with changeDate triggering on viewDate change, not date change

Reverts #295
Fixes #318
Reopens #241
Merge pull request #321 from Pasvaz/patch-1

Update js/locales/bootstrap-datepicker.it.js
Merge pull request #320 from johnnyreilly/master

Now supports full IETF codes & 2 letter codes
Merge pull request #319 from fabdouglas/patch-2

Update js/locales/bootstrap-datepicker.fr.js
Added Travis-CI support
Fix italian localization

First the common date format we are used to is dd/mm/yyyy, then
add proper accents to days name.
fix example syntax highlighting
Merge pull request #341 from phlipper/patch-1

Fix example syntax highlighting
Merge pull request #340 from xrmx/italianlocale

Fix italian localization
Remove travis-ci build status from readme, until issues are resolved
Added minViewMode Option

Added the minViewMode option to set a limit for view mode. 
Accepts: 'days', 'months', 'years', 0 for days, 1 for months and 2 for years.
From latest version of Stefan Petre.
Minor correction on minViewMode
Added minViewMode Option