Fix issue with optimistic asset prefetching in non-svg browsers

IE 8 would load page-svg and page-text assets for page 1, which is obviously unnecessary. This commit patches that bug and also enables page-1.png to be prefetched if conversion is complete. I also added better unit tests around the asset-fetching logic in viewer-base.