UI: fixes for various automation failures

1) Fixes raising exceptions part for select_deselect function.
2) Few locator fixes related to filter, product_remove and repo_remove
3)  Please note that, Puppet-Environment will accept only alphanumeric chars as name and hence the changes in test_environment.