Adds validate method to NestedWidgets.
Merge pull request #2 from adrien-f/feature/validations

Adds validate method to NestedWidgets.