cleanup on destroy all the set data attributes and small code cleanup
Merge branch 'v4beta' of github.com:Eonasdan/bootstrap-datetimepicker into v4beta
attach keydown listener only if directly attached to an input element