leitvariable: encode application into name field
update all leitvariable.php accordingly, clean-up and remove some deprecate and unused variables
clean-up setup.rphp, handle "foreign" variables