Fixed various minor errors.
Use grunt and npm.
Validate on keyup rather than focus change.
Use strict mode.
Improve documentation comment formatting.

Also fixed a typo.
Increment minor version number in doc comment.
Update readme.