python: add `spooler_pids` api for multi-spooler

the old `spooler_pid` api only returns the first spooler pid
Merge pull request #714 from xiaost/add-spooler_pids-api

python: add `spooler_pids` api for multi-spooler