Q promises fix & job.toJson fix

Hi!
Job processing bug with ```q``` lib's promises made me crazy) Thx God I did it)