Add image-cache.js

Add a few methods to json-cache.js
Use image-cache.js in bitmap-render.js