Render graph labels vertically

This helps to make the timeseries with many labels fit on the screen.
Hovering over legend items highlights series in graph
Render legend in a similar style to labels
Flip hover detail to prevent going off the screen
Flip x_label when it would render off-page
Reformat and add semicolons to graph.js
Use $ instead of jQuery
Revert style change to legend items
Merge pull request #133 from bernerdschaefer/graph-display-tweaks

Graph display tweaks