Added logic to use a set form name additional to the old way of building
the name out of app and model name.
Changed form and control id creation to use dash instead of underscores

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Added static method to send data driectly to the console

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed $validate property visibility to protected and added method
getValidationStack() to access the property from outside.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed validation process to use new getValidattionStack() method from
model.
Also changed validation process to loop through rules instead of looping
to model datafields and checking for an existing rule.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>