Added support for resetStyleInheritance and applyAuthorStyles on shadow root

http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-201/#toc-
style-inheriting