Changed set*interval logic to work on Python3 too.
Extend the signalfd test, correct the assertions.
Get rid of those pesky ResourceWarnings on Python3.2+ (the Popen pipes weren't closed).