Filter instances by role and name with new methods.

Adds Environment#instances_by_role and Environment#select_instances