Fixes https://github.com/Polymer/HTMLImports/issues/72 and adds test to show that https://github.com/Polymer/HTMLImports/issues/35 is fixed.