Fix for not honoring messagesOnModified set to false when deciding if element should be decorated with css.

Fix for #211. If messagesOnModified in config is set to false, validationElement just ignores the fact that in the case of being invalid it should be decorated with css.