On the onset of bora and the formation of rotors and jumps near a mountain gap