[MediaRenderer] Fix issues with Mute and Volume apis.

Refactored and fixed issues in Mute and Volume APIs and added
dbus code for reading arrays.
prefer `speed = (speed > 1.0) ? 1.0 : 2.0;`

And the condition and assignment seems strange to me, could you explain me why this?