Add search resource

I needed the search resource so i decided to contribute !

My code is based on the partial_search cookbook.