Update to namespaced enum variants.

Namespaced enums have now landed, this updates the lib to the changes.

In doubt, I've let the public reexport of `Value`, `Error` and `DecodeErrorKind` variants. They should not be needed any more, but it would require a lot of code update for users.