Add tests for required/not required values with enums

If an property to be validated against an enum is optional and not provided in an instance, it should still validate successfully.

As seen in tdegrunt/jsonschema#59