Update AV_codec.h
Create AV_codec.c
Update test_video.c
Create Makefile
Update CMakeLists.txt
Update AV_codec.c
Update AV_codec.h
Update test_video.c
Update AV_codec.c
Update AV_codec.c
Update AV_codec.h
Update test_video.c
Merge branch 'master' of https://github.com/Martijnvdc/ProjectTox-Core

Conflicts:
	Tuxrtp/tests/AV_codec.h
	Tuxrtp/tests/test_video.c
	core/CMakeLists.txt
	new file:   toxrtp/tests/AV_codec.c
	new file:   toxrtp/tests/AV_codec.h
	new file:   toxrtp/tests/test_video.c
Integrate libtoxmsi and libtoxrtp into the build

Public headers for libtoxmsi and libtoxrtp have not yet been cleaned up
from internal dependencies, so they will not be staged right now.
Added forgotten pthreads macro
made AV stuff compile against new API
Integrated AV into the build system
AV test for phone.c
self-connect fix