Improvements to headOn image loader

Image loader now takes a callback when all the images are loaded. Changes headon.images from an object to a function so that adding images to entities will be more dynamic.