clean up image path code. Make OSD work with proper info.json path passe...

...d to openseadragon-rails