Update scheduler.py

make SCHEDULER_QUEUE_CLASS works!
Update scheduler.py

add stats collector to scheduler.py!!!
Merge pull request #8 from gnemoug/master

fixed lack of use of queue_cls and added stats.