moved variables to class parameters

this way, we can override parameters in hiera
$logroot should default to central setting
Add syslog support for vhosts

This commit adds syslog support as logging parameter for error and
access log files.

Signed-off-by: Marc Koderer <m.koderer@telekom.de>
Add KeepAliveTimeout parameter
Added to init.pp, params.pp, template.pp and README.md
By default is '15'
Added $logroot and $ports_file to the README for the apache class.
Add tests and documentation for syslog parameter.

Signed-off-by: Marc Koderer <m.koderer@telekom.de>
Add keepalive and keepalive_timeout entries to "Template uses:" section
Fix parameters that take hash or array of hashes

The method used to cast scalars to arrays is `Array()`. This also will
cast `nil` to an empty array, and preserve array depth for existing
arrays.

Casting hashes to arrays with `Array()` produces strange results and so
the more verbose form of `[hsh].flatten.compact` must be used when a
parameter may be one or more hashes. This updates the tests and
templates accordingly.
Merge pull request #327 from hunner/fix_array_hashes

Fix parameters that take hash or array of hashes
Merge pull request #324 from TelekomCloud/feature/syslog

Add syslog support for vhosts
Merge pull request #293 from timidri/patches

moved variables to class parameters
Merge pull request #313 from jjtorroglosa/master

Add KeepAliveTimeout parameter