added a function to load multiple images in one go
added BSD license
loadImage no longer checks if the image is already loaded, since that prevents garbage collection of images
formatted license
loadImage now loads images into a target object, as well as returning the image. added for consistency with the sound loading function that can't return anything until the sound is loaded
loadImages now returns an object again, so targetObject can be null
added a function to create a Web Audio API context
bugfix: parameter order
added sound loading functions
added retry logic to sound loading.