Safer image loading

- Safer image loading: images with a wrong or missing source get a placeholder image (when used in a DOM context a missing image is not a big deal, but when trying to draw it in canvas it crashes javascript)
- Added HISTORY.md
- Changed version to 0.2.2