Table algebras of extended Gagola type and applications to finite group theory