Remove dead code

Signed-off-by: Michal Čihař <michal@cihar.com>
Use token directly for session

There is no need to have intermediate global variable to store the token
once we have it in the session data.

Signed-off-by: Michal Čihař <michal@cihar.com>
Always initialize match variable

Signed-off-by: Michal Čihař <michal@cihar.com>
Fix Node self referencing

Signed-off-by: Michal Čihař <michal@cihar.com>
Add basic test for navigation tree

Signed-off-by: Michal Čihař <michal@cihar.com>