fix batch system stuff

this fixes some stuff for the batch system and adds Pisa LSF.
The fixes are mostly in pisa code, should be propagated to LXPLUS script too, can some of you @gpetruc or @cbernet have a look?

ciao
andrea