Debugger: Re-enable a few dumper auto tests

Change-Id: I11fc41faebcd27d0d4a6ac5d06f0ce0fa3af8f29
Reviewed-by: hjk <hjk121@nokiamail.com>
CppEditor: No triggering for AssignToLocalVariable in return statements

With this patch it is checked if the function/new-expression is used in
a function call or return statement the whole AST down to the
translation unit.

Task-number: QTCREATORBUG-9525
Change-Id: I34b30ee64b9436c9c9d2586c28fd22f148bee892
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>