MPDApplication: Reformat.
MPDApplication: Fix many warnings.
MPDApplication: Refactor connectionFailed().