Implementation of classes for Run Jobs

Implementation of classes JobThread, singletone, JobRunner and functions
startJob and stopJob.
Improvements to the use of JobRunner
improved the queue system for JobRunner
Added onFinish when the job if finished normally.
Merge pull request #38 from ogranada/develop

JobRunner