Updates for tickets #2 #3 #4

 - Binds to single element
 - Type can be passed in through options
 - Moved types to defaults

Fixes #2 #3 #4
Fixes cursor position when clicking in partially filled out input.

Fixes #6
Fixed input tests.

Fixes #8
Better handling of invalid characters.

fixes #2, #3, #4
Removed console.log
Merge branch 'feature/6-incorrect-cursor-position' into pr-updates

* feature/6-incorrect-cursor-position:
  Fixes cursor position when clicking in partially filled out input.
Merge branch 'feature/input-tests' into pr-updates

* feature/input-tests:
  Fixed input tests.
Merge pull request #10 from firstandthird/pr-updates

Grouped updates