etcdserver: add checking when apply conf change

i hope we can consolidate the error checking logic. 
how about having a function called `validateConfChange` doing all the validation? We will probably repeat the type switch logic, but I feel it is better than the code right now.