fixes #1938 Foreman shouldn't use the FQDN fact to identify the node when facts are uploaded
(cherry picked from commit baeb54f19a67ef8e5fbce513548cda1653341e17)
fixes #2622 - error messages with HTML properly escaped
(cherry picked from commit c8d1c6d713cc412bc4ab30b74e60e2ff98d8b74a)
Use facts[:operatingsystemrelease] to determined gentoo release
(cherry picked from commit ef3a1338a05c0d8689dfa87ec7cd6f4bc07312f7)
fixes #2633 - enable generate_token rake task to run from elsewhere
(cherry picked from commit a5f4453257060e0e02b7fdd7498e2f5936c38a27)
fixes #2636 host submit missing progress-bar when installed at sub-domain
(cherry picked from commit 92326dd2588338079a10f11c676380d75b3a4d1f)