JMPDComm: Move the MPD protocol delimiter pattern to StringUtils.
MPD.java: Refactor getDir() as a switch.