add process name and pid in syslog message sent by RemoteSysLog

RemoteSysLog is usefull when real syslog is not available. As explained in
rfc3164 (§5.3) we should provide process information as process name and pid.
This make filtering message much more easy.
Add support for Debian's GNU/kfreebsd

See http://sources.debian.net/src/cfengine3/3.2.4-2%2Bnmu1/debian/patches/626647-kfreebsd-support.patch for reference.
Indent all policy code according to style guide.

Squashed commit of the following:

commit 88b99377b9319e156d2f82b33086a866ff375028
Author: Ted Zlatanov <tzz@lifelogs.com>
Date:   Wed Jul 10 10:37:36 2013 -0400

    fix up reindent of tests/**/*.cf

commit 86d20cf6c5195ed6cc548a0bc439b00ddef366d2
Author: Ted Zlatanov <tzz@lifelogs.com>
Date:   Wed Jul 10 10:31:20 2013 -0400

    fix up reindent of examples/**/*.cf

commit 26e6b41d02f25acb03f0a2d43152e0d8c5dad239
Author: Ted Zlatanov <tzz@lifelogs.com>
Date:   Wed Jul 10 10:28:22 2013 -0400

    contrib/cfengine.el: do not indent AT ALL when inside a continued string

commit 7c09cf58bae4fedf69129a07c36e70cdfdadf564
Author: Ted Zlatanov <tzz@lifelogs.com>
Date:   Wed Jul 10 09:35:33 2013 -0400

    undo reindent of tests/10_files/{09_insert,07_delete}_lines/**/*.cf

commit bd109b29cd314b000c78a503cb94546502b997e0
Author: Ted Zlatanov <tzz@lifelogs.com>
Date:   Wed Jul 10 09:14:22 2013 -0400

    reindent tests/**/*.cf

commit 1daa1a0e8ca5d4fa83334bae90d7f32c402789e5
Author: Ted Zlatanov <tzz@lifelogs.com>
Date:   Wed Jul 10 09:14:13 2013 -0400

    reindent examples/**/*.cf
Merge pull request #789 from CedricCabessa/syslog

add process name and pid in syslog message sent by RemoteSysLog
Update changelog with first 3.6 changes
Report errors when thread can't be created.
Fix uptime matching pcre_compile call and reset errno.

pcre_compile requires errptr to be present, and we should not tie the
match to the beginning of the line.

Additionally, reset errno before we try to call any uptime functions,
since otherwise we may get an error message even when there is no
error.
Merge pull request #814 from kacfengine/uptime_pcre_fix

Fix uptime matching pcre_compile call and reset errno.
Fix wrong test for MinGW.
Merge pull request #815 from kacfengine/master

Fix wrong test for MinGW.
fix for bug #3097 - include file_lib.h in process_solaris.c to resolve build error on solaris 10
Merge pull request #817 from McAtte/master

Resolve build error in Solaris 10 bug #3097
Server should not die when receiving bad data.

Replace ProgrammingError() with just a warning. Also fix switch
statement's erroneous fall-through, it was causing hub's serverd to die
when call-collect reporting was denied.
Removed unnecessary and dangerous scanf.
Merge pull request #813 from jimis/serverd-stack

Report errors when thread can't be created properly.
Expand test don't need to ScopeSetCurrent anymore
Prevent unexpanded lookups to EvalContextVariableGet
Do not expand l-vals in EvalContextVariableGet
Ensure lvals in VarRefs are not composite for EvalContextVariableGet

This is a prerequisite for a new symbol table. Previously the lval
compontent of a VarRef that was passed to EvalContextVariableGet could
contain a dot, meaning that we had parse this out before looking up the
variable. This would then take presidence over the scope component of
the same VarRef.

This commit asserts that VarRefs passed to EvalContextVariableGet are
proper VarRefs.
Use VarRefParse for almost all variable lookups.

As opposed to constructing VarRefs custom using C99 inline struct
definition syntax.