ggplot: legend: title

This PR is for showing legend **titles** when the legend in not broken for the geom; not for modifying its attributes, like colour.

Summary:
- Retrieve legend title from column name of legend elements in `p$data`; and,
- Create legend title as an annotation, with position `x` and `y` dependent on legend.

Example (to be judged on full-size graph):
Before: https://plot.ly/~pdespouy/2098/posttest-vs-pretest/
After: https://plot.ly/~pdespouy/2099/posttest-vs-pretest/

Image diffs can be seen here: 3c9d75b (PNG rendering is not good, since it should be seen in full-size)

cc/ @mkcor 
Because x=layout$legend$x (or x=1) is where the plot ends.
x=layout$legend$x : https://plot.ly/~pdespouy/2102/posttest-vs-pretest/
x=layout$legend$x * 1.012 : https://plot.ly/~pdespouy/2101/posttest-vs-pretest/