Fix undefined handling for non-required fields.

Also ensure that validation fails as expected when first is true.

Add istanbul dev dependency.

Test case added for issue #9, closes #9.
0.1.17