OSC doesn't work like that.
The power and weakness of OSC is indeed in the fact that there's no standard OSC protocol for paths.
JACK too doesn't have such a feature, because it really depends on how every DAW/plugin/VST/etc would handle a "panic" command.
For example, I might have a synth that - by default - reacts to such a message by sending the above mentioned "all sounds off" event, but ignoring the "reset all controllers, but that allows a generic panic message which resets all controllers too. That's because a user might want to preserve the controllers status as it is and just stop notes. And this is just one in a million of possible scenarios.
Anyway, if you're just using devices which are able to receive midi commands, you could try using mididings ( http://das.nasophon.de/mididings/ ) with a specific python script that interfaces with it. Then you can use whatever you want to control it, since it also has a basic OSC protocol feature.
If you have both ALSA and JACK devices you might have to use two mididings scripts, or, eventually (if you really know python) use a single script that starts two different mididings engines, one with ALSA and the other with JACK. It's a bit tricky, but, once you get it, it's always better to start a start and check a single script than two ;)
Cheers