Throw Errors. Add 'grunt test'. Fix JSLint issues.

Split the PR in (https://github.com/reaktor/node-tupas/pull/1) into three commits.