Added shutdown methods to the PeriodicNotificationsChecker and DOSNA class

Used these shutdown methods in the Simulated User class
KadContent
- toBytes() and fromBytes() method renamed toSerializedForm and fromSerializedForm since that's basically what these methods to
- Also we use strings instead of bytes to get rid of all of the casting all over