Fix text-only attributes in components and empty components

Fixes

    <x-foo id="foo1"></x-foo>

Broken version: http://jsbin.com/wonuz/6
Working version: http://jsbin.com/wonuz/7