Mostly implemented latest toxav.h changes, but OnMediaChange still needs implementing
Merge pull request #156 from dubslow/master

Mostly matched API changes, but avOnMediaChange still needs implementing