Merge pull request #7 from ehelms/refs-7423

Refs #7423: Updates from engines/bastion in Katello
Refs #7423: Require rails before checking for Foreman lib directory.