Allow error messages to be represented by a model instead of a Serializable

Doing so allows other threads then the main thread to define application-dependent (for example localized) error messages. In general, I believe this model representation is more conform to the "Wicket-way" of doing things.

Jira-Issue: WICKET-5353