import: reinstate warning for empty base in non-absolute URLs
Add support for nested @import statements

Also guards against multiple imports of the same URL, and therefore circular imports

Ref BohemianCoding/Sketch#3319
Fix a bug which ignored first line of @import-ed scripts