Adding "duration" property to Job entity.

When such information is not provided by API it is necessary to calculate it based on "started_at" and "finished_at".