Fix QML warnings about Connections onFoo functions

Update all the Connection elements in our QML to avoid the warning: : Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>)