fabric.Polygon.fromElement() shouldn't throw an error.

It can just return `null`.
Check for points existing before trying to do anything with them.
Merge pull request #1564 from rodovich/empty-polygon-points

Fix importing polygons with empty `points` attributes