Add lifecycle fields to ActiveBasalProfilePattern events
Add comments and re-sort settings stuff by timestamp

I also broke `bin/fetch.js` previously, so unbreak that.