Support for deeper nested CSS and resources
fixed up tests for imported style sheets and nested CSS and resources
merged with import test branch