Feature/scripting tests

Refactoring and testing of scripting adaptors (slurm, gridengine, generic)