added componentToggle option to allow closing datepicker by add-on btn
fixed https://github.com/eternicode/bootstrap-datepicker/issues/775

(cherry picked from commit 6deee4ec7fa22bd1dee78913e0340f3841f58982
from https://github.com/n9/bootstrap-datepicker)
credits added