Add 'dependencies' validator.
Improve style.
Merge pull request #25 from cupcake/finish-object-validators

Add 'dependencies' validator.