Custom CSS class for tooltips

Added classNames option to tooltip.js

I recently ran into this requirement and found a very simple solution for apparently a very old problem, see #2433.