Use /bin/sh when running list-compatible-inputs

This removes the assumption that list-compatible-inputs has execute
permissions, which may not be true in some installations.
Merge pull request #126 from zzamboni/fix/list-compatible-inputs-exec-through-sh

Use /bin/sh when running list-compatible-inputs
Fix for class eval optimizations in 3.6.1+

In 3.6.1+ a class evaluation optimization was introduced that prevents
the `services_array_defined` class from being re-evaluated several times
in a loop, so the `regextract()` is only evaluated for the first service
defined. To fix this, we define per-service classes, and define
`services_array_defined` using `classmatch()` on those.
Merge pull request #130 from zzamboni/fix/362-array-deref-workaround

Fixes #5625: Fix for class eval optimizations in 3.6.1+
Fixes #5634: Remove parenthesis over a single class context
Merge pull request #131 from VinceMacBuche/bug_5634/classes_surrounded_by_paren

Fixes #5634: Remove parenthesis over a single class context
Fixes #5613: Add s class selector in method call
Fixes #5663: logger_rudder generates extra buggy reports
Merge pull request #134 from peckpeck/bug_5663/logger_rudder_generates_extra_buggy_reports

Fixes #5663: logger_rudder generates extra buggy reports\n\n
Merge pull request #133 from VinceMacBuche/ust_5333/5613/classes_selector

Fixes #5613: Add s class selector in method call
Fixes #5728: list-compatible input is not working on aix
Merge pull request #140 from peckpeck/bug_5728/list_compatible_input_is_not_working_on_aix

Fixes #5728: list-compatible input is not working on aix
Fixes #5740: Do not copy a file from a template if the template does not exist
Merge pull request #141 from Kegeruneku/bug_5740/int/5740_do_not_copy_a_file_or_template_if_the_source_does_not_exist

Fixes #5740: Do not copy a file from a template if the template does not...
Fixes #5558: allow to use $ { } in variables and correct class condition and reporting
Merge pull request #124 from ncharles/bug_5558/dev/variable_in_parm

Fixes #5558: allow to use $ { } in variables and correct class condition...
Fixes #5744: add missing test in ncf for variables
Merge pull request #142 from ncharles/bug_5744/int/missing_test

Fixes #5744: add missing test in ncf for variables
Fixes #5598: make logger_rudder cross platform
Merge pull request #129 from ncharles/bug_5598/dev/make_logger_rudder_cross_platform

Fixes #5598: make logger_rudder cross platform