Support CSS import from gist.

Check for css type when importing a gist, fix #590.