Respect media tag in <style> nodes (#31)
Add test cases for #31