Fix failing ems_cloud_controller_test
Fix failing ems_cloud_controller_test

Rails delegetes/virtual columns don't work with Rails finders
Using `with_hostname` and `with_port` on the EMS model's scopes
on values that were extracted into the `Endpoint` model.
(transferred from ManageIQ/manageiq@1ea082eddf3c8a964a6528f5ba541ab70724ceb5)

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic