Debugger: Use enum to describe token type

Change-Id: Icbd72999f5d688cce63f54e1f8570b9bb0372f90
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>