Define EtcdErrorCode as constant and reuse EtcdError instances

I was puzzled by what 100 and 200 meant. This PR attempts to remove those magic numbers from code.