Sugar ester peracid on site generator and formulator