popover: Add initial drawing code

This essentially draws a little tail/arrow at the bottom center of the popup,
and makes too many assumptions to be generally useful.