Adds support for css in style elements (as well as link elements).
Uses of document.styleSheets to read every styleSheet in the document, thus the css declaration order is kept.