Adds line information to tokens.

(and removes console calls)
Allows any kind of strings as declaration types.
Fixes depth checking for headers/declarations.
Uses 1-based index for lines.
Doesn't require a meta line to have a value.
Initial work on the AST resolver.
Fixes handling of multiple-keys in parse-meta
Makes sure we store all the entities in the AST
Handles IDs for entities