new basal plotting function + tooltips

Still a WIP, will have to include new basal tooltips before ready for merge.

@cheddar there's a few TODOs in `js/plot/basal` that are somewhat dependent on answers from you, so remind me to touch base with you about them whenever convenient for you.