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