fixed deleting job issue on db initialisation

moved the db query all jobs to the resolve function of the jobs route.
As a result removed the init function from the job controller
added extractJobs()
Merge remote-tracking branch 'origin/dev'