qmlavplayer: mimic qtmultimedia's mediaObject

signal connections are moved in beginClass() as in qtdeclarativeaudio
(MediaPlayer)
Merge pull request #294 from sherpya/master

mimic qtmultimedia's mediaObject