stats: move StatsCluster equal/hash/free methods to its own module

Earlier, StatsCluster was handled as a data structure, but it is more
and more class like, so delegate equal/hash/free functions earlier
implemented by stats-registry to its proper place.

Signed-off-by: Balazs Scheidler <bazsi@balabit.hu>