Fixing publisher filter behavior and adding tests

Fixing publisher filter behavior and adding tests as per request. Now we return the latest for each template when given a publisher, as opposed to just the latest from the templates (since a publisher usually has multiple templates).
this.MostRecentTemplate(galleryItems) may return null