pgmpd: Change all SQL function names to mpd_*

This simplifies a bit the interface. Internal C functions are still defined
with pgmpc_*.