Much faster and lighter hashing of image src.

Tiny-SHA1 is big and really slow for just getting a hash of the image src. The function I've replaced it with is over 100x faster (in JSPerf tests) as well as much smaller.