Merge pull request #1 from shizzard/master

Validator function is now called on undefined required hash fields
fix style of 'when'
list and hash will not reverse order of elements in validation
Merge pull request #2 from JLarky/master

Issue with inverted lists/hashes