put back attachedCallback call and remove upgrade call.

The reason is upgrade is anyway call when I instanciate the
custom element instance automatically but then as the element
is not attached attachedCallback is not called. Calling upgrade
later is then ignored and attachedCallback still not called.
So one as to just call attachedCallback.