Added XHR onprogress event handler for tracking image load progress

If image length is computable, triggers cornerstone event with percent complete, otherwise (in case of serving compressed files), just passes bytes loaded to event handler. Event handler will then need to compute percent completed using file size metadata acquired by some other means.