Implementation of patients by age graph

This required significant reworking of the initial patient summary data
load and realigning some of the socket messages.