FFdecsa_optimizer: Fix check for lsb_release. Remove some bashisms. Make use of --
init scripts: Make mythtv handling optional.
configure/kernelpatch: clean some unneeded bashisms and fix extracting kernel source for Ubuntu.