mds-kbdc: annotate tree with source code locations and report where unpopped scopes were pushed

Signed-off-by: Mattias Andrée <maandree@operamail.com>