Changed METS creation to get a thumbnailPid by querying DPLAItem objects to see if they have an exemplar relationship to an image, otherwise use self PID.  Had to change lang of search to SPARQL so that OPTIONAL syntax can be used