Fixing bug in setDefaultCodec; added unit test for bug

Fixes a bug where setDefaultCodec clobbered the number before RTP/SAVPF in the m= line (that's the UDP port I believe?)

Essentially, it returned

m=audio RTP/SAVPF 111 8 103 104 0

but it should have returned

m=audio 8 RTP/SAVPF 8 111 103 104 0

Also adding a unit test for this and fixing the duplicated implementation in the audio example.
m=audio 9 RTP/SAVPF 111 103 9 0 8
(replace 104:ISAC/32000 with 9:G722/8000)