very basic and incomplete unit testing
clarification
i am not Fond of swapfiles.
More correct and complete package.json

package.json now includes devDependencies, supports testing, and
contains additional useful metadata.
More correct and complete package.json

package.json now includes devDependencies, supports testing, and
contains additional useful metadata.
Add .travis.yml for http://travis-ci.org
Merge branch 'feature-travis' into develop
Add http://travis-ci.org status image
Enhanced/extra/corrected/more readable tests

- Add a few tests for error conditions
- Reword some existing tests
- New mock requests to support new tests
- More readable test code, hopefully
Fix typos in test/test-unit-clientCertificateAuth.js

- Copyedit comment.
- Remove spurious comma in mockUn*Req hashes.
Handle the empty-cert-object case. Close #1.

Fix the cert test to correctly handle the case that the object returned
by req.getPeerCertificate() is an empty object. See
https://github.com/tgies/client-cert-auth/issues/1 for more information.
Fix packaging: npm needs to ignore .travis.yml
Merge branch 'develop'