Support for using a Spritesheet as an image atlas.

I implemented this to get performance improvements on the html5 target.  
Lots of individual images result in slow performance when preloading them in the browser.