added imageCache and example
updated imageLoaders to provide sizeInBytes of loaded images so imageCache can keep track of how much memory is in use