fix type that would break setgid
bump version to 0.4-dev
migrate to libmpdclient + lots of refactoring

since libmpd is deprecated, use libmpdclient instead.

also, a lot of the code was refactored/rewritten to introduce at least a tiny
amount of reasonable software-architecture.