update mercurial and libmemcached
sync snowden with ritchie
build failures and build order fixes, part 1
update mpd-mpc, check and jdk7
sync ritchie with snowden