Update methods, support @import:
-Refactor ugly code a bit more, make it easier to handle different
scenarios
-Handle @import rules
-Stub out functions for remained @ rules
-Add normalizer for media types
-Add custom exceptions