main: not use loop variable in goroutine in loop body

Because loop variable are reused in following loops.
flags/urls: assign urls instead of append
Merge pull request #1217 from unihorn/146

main: not use loop variable in goroutine in loop body
Merge pull request #1218 from unihorn/147

flags/urls: assign urls instead of append
etcdserver: publish self info when start
etcdserver: minimize input info
etcdserver: move grep member logic into publish func