etcdserver: move error to errors.go

Both server.go and cluster.go are using defined ErrX. Move error
to errors.go
Merge pull request #2018 from xiang90/server_error

etcdserver: move error to errors.go