Implement missing + operator for the Value class.

Fixes #4497
Windows build fix.
Windows x64 build fix.
Remove the replication feature and clean up the code.