Refactor exception resources: deduce exception class out of generic type...

... parameter

Validate that every message has even number of quotes (MessageFormat requires '' if you mean just single quote)