etcdserver: fix data race in retrieving self stats

@unihorn thoughts?
supersedes #1315, #1313
probably the design of the stats pkg is messy. i think we might need to reimplement it soon.