fix updated songs getting duplicate db entries

and implement the 'database' subsystem notification in MPD protocol
MPD protocol: implement currentsong command