append template to element

fixes issue #65

This appends the widget after the element so that the default
bootstrap styling will align the dropdown properly
Fix keyboard input in widget bugs

This fixes some bugs not allowing a user to input a time
in the widget with a keyboard.

Pressing tab on the last input now updates the time before
closing the widget.

See issue #66.