vstat: Introduce locking, preparing for timer
vstat: Introduce locking, preparing for timer

Next step: Periodic POST of stats.

KristianLyng/vagent2,KristianLyng/vagent2,KristianLyng/vagent2,KristianLyng/vagent2,KristianLyng/vagent2,KristianLyng/vagent2,KristianLyng/vagent2