add caching for all_pets request to pet shelter api

Cache the returned API request for the pets#index page.