Return panotpes-uploads path for subject locations

Closes #397
Merge pull request #398 from edpaget/fix_subject_locations

Return panotpes-uploads path for subject locations
Fix URL trimming
Merge pull request #399 from edpaget/fix-subject-location-urls

Fix URL trimming