mpd.c updated to new convention (issue #6), fix warnings on fscanf, new function timeconv

#6 fixed