Minor refactoring, additional comments, initial (small) bundle of test cases for selection list input validation (as default value).
Fix validation of "fields" type; test type checking of default values when the "fields" type is used in conjunction with repetition.
Fix issue where non-required properties in subfield lists would fail to validate if omitted.
Prohibit sparse arrays, at least for now.
Require that embedded fieldsets be plain objects.
Additional test cases.
Fix util.is_plain_object.
Always validate every field and every repeated item; include per-item or per-field information in the `detail` property of each error object. This will allow the renderer to present complete error information, as well as provide more granular error information (in addition to a top-level success or failure) for each field.
Stubs with block comments for custom validation and skip-logic condition processing.
Whitespace fix.
extracted a test utility module for common test code
Merge branch 'master' of github.com:medic/medic-forms
Merge pull request #3 from medic/master

Merge from Medic Mobile repository