Migrate from APScheduler 2.1.2 to 3.0.1

This fixes #255.