Removed media queries before inlining

Taking into account the rules in media queries when inlining is broken as
the media queries cannot be kept in the inlined code.

If you find it too much by default, this could be toggled by a flag set on the inliner. Tell me what you prefer