Fix update of redefined properties. Implement ownedPort()

Change-Id: Icef7dfc42e259d62be5b2f5894c4623dae82730c
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>