mdv small changes

moving createInstance from Template to TemplateIterator
adding HTMLTemplateElement.isDecorated method
selector tests + fixing related errors

renaming Selector.filter to Selector.test
Moving Selector.new to a new object: SelectorFactory
Checking objectSelector after regexpSelector (because typeof regexp ==
'object')