Graphs can setup alerts. Add a basic framework for them. Change-Id: I6a80041eaaa03a3b3ff3e3de76401bbc77f42e96