Added new manifest tests, the required functions and few fixes

Addresses the below  issues
https://github.com/RedHatQE/katello.auto/issues/392
https://github.com/RedHatQE/katello.auto/issues/238
https://github.com/RedHatQE/katello.auto/issues/389