resource_pool: add __contains__ and __getitem__ methods, see utexas-bwi/rocon_scheduler_requests#26