Add image load onerror handler

Make sure, when loading from json, that
a bad image path doesn't fail the desserialization

Signed-off-by: kangax <kangax@gmail.com>
Fix fabric.util.loadImage in node
Build distribution