Audi patents a way to drop a gas engine into an EV platform, and a smarter algorithm to make EREVs more efficient.