fix displaying settings after build
Merge pull request #354 from cgzones/settings_after_build

fix displaying settings after build
fix sign conversion
fix 'this decimal constant is unsigned only in ISO C90' warnings
fix etc/shared permissions: remoted needs to create merged.mg file
remoted needs to create ar queue
create dir var on agent
on agent, queue/rids needs to be accessed by user ossec
Merge pull request #355 from cgzones/conversion_fix

Conversion fix
Merge pull request #356 from cgzones/permission_fix

Permission fix
Merge branch 'master', remote branch 'upstream/master'
Do not display settings when target is failtarget
[os_execd] fix compiler warnings
[os_execd] fix CID 28574
[os_execd] add nonnull qualifiers
[os_execd] fix windows build
[os_execd] fix windows build #2
[os_execd] fix windows warnings
Merge pull request #359 from cgzones/os_execd

os_execd
Do not display completion message when 'failtarget'

Per the suggestion of cgzones in #357, the if statement has been
extended so that the completion message is not displayed when doing a
build for 'failtarget'.