Add declarative object-registration API to QML WebChannel.


The new registeredObjects list property is now preferred over the old
imparative registerObject/registerObjects API.

Items that are added to the list need an attached WebChannel.id property
which holds the identifier under which the object is published to remote
clients.

Change-Id: I96a8047b9a85e27f3fd48c900180c22ebd20eb35
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
commit625c881cc74f2552e211b9ba81ac3b0ed30e9947
parentb23442674f1b30d936fca43aee7b7d6dece15b2c
authorMilian Wolff <milian.wolff@kdab.com>
committerThe Qt Project <gerrit-noreply@qt-project.org>
commit timeFri, 10 Jan 2014 13:09:03 +0100