Formatted model state errors

- Added new model state dictionary extension to add formatted error
messages to expressions.