mimic qtmultimedia's mediaObject

signal connections are moved in beginClass() as in qtdeclarativeaudio
(MediaPlayer)