check for strings as dates and parse them

only if the `options.type` setting is either `'date'` or `Date`
also parse on insert
added tests
Merge pull request #18 from paulbdavis/date-checker

Date checker
Release 0.2.12