Errors are mapped with input names such as model[field][sub_field].
You may override field name for more flexibility in the errors method.

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Support for array of errors.
Added a regex to match fields without their subfields if no field are found with their subfields. It is especially useful for images.

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Merge branch 'develop' of github.com:Hete/kohana-validform into develop
Forgot debugging code. Added a space between each messages.

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>