combine Lab.grapher.Graph and realTimeGraph
grapher: move keydown handler to appropriate scope

(keydown couldn't access graph update function where it was)
make refactored grapher lint clean

Several fragments of code were commented out with "REMOVE" annotations (if they appear to be vestigial) or if they initialize unused vars with possibly-useful formulas.
update test mocks for grapher refactoring
grapher: only append notification text once