Debugging and small API update

This commit allows pyslurm to successfully compile and execute with slurm 14.03.10, cython 0.21.1 and python 2.6.6

Note that some of the editions are in fact not necessary, as they correspond to an adaptation of existing examples to my cluster requirements.
Same here.