cleanups, fixes and more new api stuff
cleanups, fixes and more new api stuff

thkl/homebridge,chrisi21/homebridge,SphtKr/homebridge,travisdoyle/homebridge,dvinc/homebridge,patricks/homebridge,benjie/homebridge,EddyK69/homebridge,neonightmare/homebridge,snowdd1/homebridge,bivab/homebridge,derekforeman/homebridge,nfarina/homebridge,DTTerastar/homebridge,hplato/homebridge,dotsam/homebridge,inonprince/homebridge,domotico/homebridge,felixekman/homebridge,nfarina/homebridge,nfarina/homebridge-legacy-plugins,Cosmo/homebridge