getMessages() returns empty message arrays for successful validations
instead of omitting them.

this makes it easier to loop over messages in templates (ie. no need to
check if a property is set before rendering the messages)

updated documentation/examples