Turn glad into a shared library
Rewrite pulseaudio input

Now more flexible and easily extendable
Add xcomposite capture plugin
Some XComposite capture fixes
Fix color swapping in xcompcap
Fix Pulseaudio latency calculation
Remove no longer needed glad initialization