Add test for reading large strings from textfile
Add test for long string defined from module
Add test to make sure we dont crash when list elements are very long
show-classes and show-vars do not take options
clarify --show-classes and --show-vars help text
Merge pull request #1402 from estenberg/bugfix/show-classes-vars

Clarifications for --show-classes --show-vars
Fix --enable-debug regression while still enabling overridable CFLAGS.

AC_PROG_CC sets some default values for CFLAGS on some systems, so
we need to separate between those, and flags that are passed in from
the command line.
The projdatadir variable is replaced by datadir variable. projdatadir had the same functionality as --datadir  option.
The default datadir value is: $(prefix)/share
restore the default behavour for --enable-fhs
Leak-fix: delete the list passed to FnCallNew().

FnCallNew makes its own copy of the list it's passed, and the parser's
original is no longer needed, so the parser should tidy it away.  I'd
previously cleared it, but hadn't realised we still owned it !

2394 blocks definitely leaked, 57k directly plus 123k indirectly.
Leak-fix: GenericAgentConfigDestroy() neglected two members.

The original_input_file and input_dir were first cleared away and then
set by GenericAgentConfigSetInputFile() but weren't being released at
the end of the object's life-time.
Leak-fix: handing off ownership to AppendItem(), which makes its own copy.

AddOpenPorts() called StringWriterClose() and passed the result in to
AppendItem(), which doesn't take over ownership; so it was leaked.
Use StringWriterData() instead and do a simple WriterClose() after.
Leak-fix: MonitorStartServer() neglected to yield a lock it had acquired.

So, naturally, it leaked thislock.lock.
PolicyAppendBundle(): constify its Rlist *args.
Skip the unused FnCallDatatype (using #if-ery).
Add STACK_FRAME_TYPE_PROMISE_TYPE
Move promise_logging into eval_context
Roll promise logging into EvalContext

This lets logging follow the stack more closely
Logging, prepend stack path for all stack frame types
Merge pull request #1405 from kacfengine/overridable_CFLAGS

Fix --enable-debug regression while still enabling overridable CFLAGS.