Rotary wave-ejector enhanced pulse detonation engine