Added functionality to allow photo caching

Can request N number of photos from the photo manager given a predicate
filter.