Use nodejs callback convention
Revactor code
Fix logger
Merge branch 'master' into feature/code-fixes

Conflicts:
	lib/pulsar-scheduler.js