mostly monit related changes with many contributions from David Bezemer.
kaltura-a52dec kaltura-opencore-amr were rebuilt to correct the ld.so.conf.d path
templates for monit and Red5 configuration script.
clear_cache.sh: make sure a dir is present before trying to remove content, otherwise you get ugly errors in cronlog.