Build tags are not compatible with block comments. Also adds copyright header to a few places it was missing.
Both server.go and cluster.go are using defined ErrX. Move error to errors.go