PFSELFTEST improved to test the approximation error.
PFCOUNT: unshare the object when cached cardinality is modified.
PFGETREG added for testing purposes.

The new command allows to get a dump of the registers stored
into an HyperLogLog data structure for testing / debugging purposes.
Remove HyperLogLog type checking duplicated code.