Fix sitemap generator script to be xml safe
Fixes some issues where we added an extra slash when forming pathnames; new method for filedownload model to easily get the download url; fixes some photoalbum views which improperly references the image width & height
(cherry picked from commit 0ce6ac2)