[#20739695] locations can also be associated to accessions. this adds a ...

...union to get resource and accession related locations for a repo

Fix for this https://www.pivotaltracker.com/story/show/20739695