Add preprocessor flag for librtmp network dumps

Fixes debug compilation on non-WIN32 targets due to undefined
netstackdump(_read) symbols
Fix (debug build) warnings in librtmp
Rewrite pulseaudio input

Now more flexible and easily extendable
Move opengl loader into a seperate static library, so plugins can use it
Flush after logging
Add xcomposite capture plugin