Updated .gitignore.
Added Image.onerror handler and options.error callback.
Merge pull request #40 from goliatone/onerror_handler

Added onerror handler to _loadImage. Optional callback provided in options object.