Create elementAttributeValues for textContent

This avoids a problem when no attributes triggered the creation of
`_elementAttributeValues` and this setting of textContent assumed that
the object was in place.
Merge pull request #1460 from mczepiel/component-attributeless-textContent

Create elementAttributeValues for textContent