correct some bugs (__set/getattr__ recursion, catch 'ResourceNotFound' instead of KeyError)
fix layout bug
correct device_scheduled_jobs map function
extract construct_job method
return job interval from device_scheduled_jobs view
run message consumer in a separate thread to stop start_consuming from blocking
change dictionary reference to 'get' so that it returns None
made dispatcher object hold it's own rabbit connection, changed calls to construct_job
pass in job reference to timer thread and make job hold it's own connection
run message consumer in a separate thread to stop start_consuming from blocking