Add multicore support for APEL

As discussed on the lcg-tech mailing, it is required to be able to set the value of batch->parallel to true if the cluster offers multicore ressources. It fixes the #116 issue.