Finish support for cursor.referenced.
Remove debug output.
Fix bug in build_db_files.
Fix bug for from_clang_cursor.

When there is complex call expression, the cursors tree may have
overlapping cursor. So I have to use a lot of conditions to filter it.
Move CursorKind handling to Cursor.__init__
Move file handling to Cursor.__init__