etcdserver: add id tracker

fixes #1064 
i think we need to most basic test: the initial is correct.