dla: typos fixes in comments

Signed-off-by: Roman Pen <r.peniaev@gmail.com>
dla: add event loop to handle all sort of Term signals

We are interested in proper termination because we are doing
ptrace ATTACH/DETACH and if we die in the middle we leave the process
in stopped state.

So move all the loop logic from main function to dla event function,
which is being called on every loop timeout.

Signed-off-by: Roman Pen <r.peniaev@gmail.com>
dla: detect already analysed tasks

do not include into results tasks which were already analysed by dla

idea is simple: if stuck generation > 1 - task was already included
into stuck list and was analysed, so include it into old stuck list.

Signed-off-by: Roman Pen <r.peniaev@gmail.com>
test-deadlock: include two test cases

I am interested in new tasks which take the same
locks which were already included into results

Signed-off-by: Roman Pen <r.peniaev@gmail.com>