Add permission check before job deletion

Users have the ability to delete their own jobs and those jobs which
are belong to users in the same group. The only exception is admins
can have the ability to delete other user's jobs from web UI, or by
using cli command with job ids.

Bug: 917933
Change-Id: I2778bd305554999df4f821e189c7b40ae1276c04
Merge "Add permission check before job deletion" into develop