Scheduler now resumes incomplete jobs

Added init method where it is checked if some
tasks aren't left over from the other time.
Commented Scheduler.
Fix server-side jshint issues
Some more jshint
slave manager refactoring, part 1
Slave manager refactoring, #2
Slave manager refactoring, part #3
Merge pull request #53 from blostic/JS_#49_scheduler

Js #49 scheduler
Merge pull request #54 from blostic/MR_#51_slave_mgr_refactoring

Mr #51 slave mgr refactoring
merge master