First commit of proper SETs support
Added calendargrams for easy bucketed trending of metrics.