Debugger: Move templateArgument implementation to Dumper class

This sets the scene for LLDB which needs direct access.
The global functions in gbridge.py stay for now, to keep compatibility.

Change-Id: Ia81f682ac2066acde3239f2d1e27f5e442361b11
Reviewed-by: hjk <hjk121@nokiamail.com>