Support import statements after other statements (#13816)

Note that CSS imports are only valid at the beginning of the file.

Change-Id: I93d757c3e24d1e8786a730d2db55504c7094e9b2