handle unset parameter

some scripts (eg. package postinstall script) include bareos-config-lib.sh with settings,
that exit if a variable is undefined.
To prevent problems, function parameter are now used as "${1-}", so that they are never undefined.
Also fixes a bug, when using a database password that contains "/".
"/" is now a allowed character, but "#" is forbidden.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Tweak layout.

- Use enums instead of defines for config types.
- Cleanup mem_pool.h
- Refactor dir_db_log_insert() function.
Drop vMmsg functions.
Translatable string fix
Switch to using a default DSC file.
Storage to storage copy jobs don't work with TLS.

When both SDs think they are a TLS server the handshake will never be a
success. Now changed the code to use the initiate variable we have which
we already use to know who starts the challenge protocol. That way we
get one TLS server and one TLS client which should work much better.

Fixes #290: Storage to storage copy jobs don't work with TLS enabled.
Add openssl CRL reload logic.

The Bareos daemons neither try to reread configured X.509
CRLs from file system if they expire nor if the daemon receives a
SIGHUP.
Added spec for RHEL4

We only build the client programs
Give hint on db update scripts on version error

When we get an db version error, give a clear hint
to run the db update scripts instead of only
asking to correct the config file.