Improved Intellisense and code scanner a lot.

Now the Intellisense window shows values of constants, variable types
and whole function headers.
Also, parsing SScript libraries has been implemented.
Minor things like missing "foreach" keyword were also fixed.