Make entityselector always trigger aftersetentity event

Without this, sometimes the entityselector happily selects something, but the
expert is not informed and just saves a different value while showing you the
right one in the input box.

This change also makes the EntityIdInput not listen on entityselectorselect, which
is a quite useless event because it happens before the entity actually is set.

Bug: 62868
Change-Id: If62e8ea3fca1feb148532d1907e815e63cee771d
(cherry picked from commit 0a72344df1ad443d5af16bb1d8232e24396186cc)