*: support purging old wal/snap files

Fix #1764
could we move this goroutine and interval logic into EtcdServer.purgeFile?
It uses two goroutines for purging files now, and it is a little confusing.