Fixing a number of small memory leaks.

 * Composite not cleaning up after itself
 * Switch server now exits after 5 seconds.
Merge branch 'master' of git+ssh://github.com/duzy/gst-switch

Conflicts:
	tools/gstworker.c
Fixing memory and file descriptor leaks.