Physics and applications of a plasma deflagration accelerator