Remove error message duplication

Using GWT we have a very nice option not to duplicate code in client and server. So I moved error message to shared class