Changed PeriodicHB to one instance per StatefulWriter
Fixed creation of PeriodicHB object in StatefulWriter
Fixed StatefulWriter destructor
Merge branch 'feature/singleHBperWriter' into feature/liveliness