add chef search convenience library methods

Putting these here so they can be reused in all the other cookbooks. Is
there a better place?

After this is merged, the search_env_filtered library can be delete from
the nova cookbook.