Runtime audio device change detection (only on MacOSX CoreAudio)

darcs-hash:20091120120735-831b3-5537cbbb3feb2ca30b05f478f6e552f959b5f9a5
Reworked dialog-rules application and script

Ignore-this: 30ab73acefacd8a6d12ff1806034de5c

darcs-hash:20091120125641-56b4d-2cf8c100d0a6e9a2cfe579b0dee2695de1869b43