Add scope attribute to classes promise. RM #1941

By setting scope => namespace, it's possible to define a global class
from an agent bundle, and a local class in a common bundle.

Includes testcases for new scope attribute.
Added check for arglist type for bundle and body. Report error if not valid type
Merge pull request #503 from basvandervlies/arglist_check

Added check for arglist type for bundle and body.
added unit test for checking args argument for bundle/body
Check for valid body type in parser, unit test
Merge remote-tracking branch 'bas/arglist_check'
Remove useless call to IsCf3VarString in lexer
Clean up header includes for lexer, env_context still needs to go
Added check if bundle/body function is propery closed with ')' + unit test
Merge pull request #505 from basvandervlies/arglist_no_cp

Added check if bundle/body function is propery closed with ')'
Add parser unit test for invalid ifvarclass expressions
added check for open body statement + unit test
Merge pull request #493 from baptr/agent_context_scope

Add scope attribute to classes promise. RM #1941
Merge pull request #506 from basvandervlies/arglist_no_cp

added check for open body statement + unit test
Fix compilation error from merges
Update ChangeLog
fixed a reduce/reduce error in arglist. The parser doesn't know which state it must choice
Temporary workaround for premature connection timeouts during file downloads.

Connections time out while large files are verified, leading to the next
file download failing.

This addresses #2367 while work on protocol level fix is in progress.
Merge pull request #507 from basvandervlies/new_bundle_statement

fixed a reduce/reduce error in arglist.
renamed category to promise_type and check if it is a valid promise type + unit test