Adapt datepicker to bootstrap v3

For further information see this blog post by
kenyontechnology.com ( http://goo.gl/XyL0et )
Always use datepicker input element to calculate dropdown offset