Add preloading and caching of images
Fix preloading
Remove log traces
Add tests for image element
Add runner for isolated tests while developing
Add image element callback test
Fix jshint rants
Test cached image callback
Remove logging
Fix script to make it run
merge with current master
Merge pull request #69 from Animatron/preloading_caching

Preloading caching