Handful of improvements (robustness and features)

:warning:  Not yet ready to be merged, yet.

This builds upon @piranna's contributions, it adds :
- sub SVG rendering
- https support
- support local absolute paths (and robust parsing)
- prevent some variable leaks to global scope

I'm fixing a minor issue preventing sub SVGs from being rendered (I think it's a size issue).