Tooltip content function and size-related functions for scatter plots

In a recent project, we needed finer-grained control over dot sizes and create fancy tooltips. I added some wiring from the scope properties to the NVD3-functions.