setNamed() rewrite
setNamed() rewrite

I think the current `setNamed` does too much work for a simple task.
This was difficult to trace, but if I understood, this function:
  Save a dom element reference in a property of the parent.
  * parent property is named with the id|name attribute value of the dom element.
  * if the dom element...
      - is already visited (`_visited` flag set), returns
      - has no id|name attribute (can be revisited later), returns
      - is registered in `keys[]` (property of the root parent?), does nothing in the parent, but set `_visited` flag*
  * if parent[id|name] doesn't exists, create and set it to the reference.
  * if parent[id|name] is an array, add the reference to this array.
  * if parent[id|name] exists and is not an array, this is another dom reference, so convert the property to an array with both references as elements.
  * last, set the `_visited` flag.
  Note: this function is called for nodes of type 1 (Element) with isLoop property
        =falsy by parseNamedElements() and the 'updated' event set by _each().

So, this implementation is clearer and more efficient, ...and easy for tracing.
AndrewSwerlick/riot,qrb/riotjs,dschnare/riot,duongphuhiep/riot,sylvainpolletvillard/riot,scalabl3/riot,scalabl3/riot,rthbound/riot,rasata/riot,AndrewSwerlick/riot,thepian/riot,txchen/riotjs,dschnare/riot,chetanism/riot,txchen/riotjs,beni55/riot,sylvainpolletvillard/riot,muut/riotjs,rasata/riot,seedtigo/riot,duongphuhiep/riot,crisward/riot,stonexer/riot,rthbound/riot,noodle-learns-programming/riot,zawsx/js-lib-webcomponents-react-riot,xtity/riot,seedtigo/riot,muut/riotjs,laomu1988/riot,laomu1988/riot,thepian/riot,dp-lewis/riot,crisward/riot,baysao/riot,xtity/riot,qrb/riotjs,chetanism/riot,joshcartme/riot,joshcartme/riot,madlordory/riot,beni55/riot,dp-lewis/riot,stonexer/riot,zawsx/js-lib-webcomponents-react-riot,noodle-learns-programming/riot,baysao/riot,madlordory/riot