BohemianCoding/Sketch#3319 Add support for nested @import statements

Also guards against multiple imports of the same URL, and therefore circular imports

Ref BohemianCoding/Sketch#3319