Fixed some intellisense bugs with types and const

Mostly surrounding quick info, but some at the Parser core, affecting
type and constant definition availability.

Also started adding built-in function info on the xml file.