added functionality for html5 input elements, especially dates, fixed bug with undeclared input type (handles as text)
Merge pull request #5 from EmergentIdeas/master

Minor changes to bind data to html5 date and time field types

TODO: It appears there may be some formatting issues in modified switch statements.