fixes XForm viewer, closes #504
fixed caching update mechanism for changed media files, closes #398
Merge pull request #505 from modilabs/image_url_caching_fix

Image url caching fix + form xml viewer fix