Make rq-scheduler compatible with Python 3

It didn't take a whole lot of change, and it still works the same under Python 2, as well.