Fix loadFromJSON 404s breaking fabric #1079

Prevent image 404s in Images and Patterns from loadFromJSON from breaking everything trying to get attributes of a source or element which is null. This allows the 404'd "null image" to pass out of fabric.js so users can deal with images which failed to load.

For issue #1079