Replace Leonardo detection with Caterina detection

Checks bootloader.path for "caterina"

Works on my Mega2560 (!) needs testing on a Leonardo at least.