fixed several PEP8 violations around the scheduler.py module
fixed PEP8 violations and added import for warnings module that was being used with no import
fixed PEP8 violations
fixed PEP8 violations
fixed PEP8 violations in tests directory
Merge pull request #15 from DamnWidget/master

Fixed PEP8 violations and small mistakes like unused imports