Fixes #2632 - extract strings from validation errors
fixes #1938 Foreman shouldn't use the FQDN fact to identify the node when facts are uploaded
fixes #2622 - error messages with HTML properly escaped
Use facts[:operatingsystemrelease] to determined gentoo release