fixes: a weight could pass as sample and vice versa
* add weighted_mean::sum_of_weights_squared * sum of default constructed mean and weighted_mean is now equal to default constructed object * thread-safe returns a reference to self in operators just like the other accumulators
changed type of sum to RealType for mean and added serialization tests for builtin accumulators