HTML Imports integration code

If the file has `.html` extension it is (hopefully) file to be used with [W3C HTML Imports](http://w3c.github.io/webcomponents/spec/imports/)