integrate building of additional UCS packages

for the univention distribution, Bareos offers two additional packages for better integration:
univention-bareos
univention-bareos-schema
These two packages are now be automatically builded with OBS.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Tweak windows build environment.
Fix compiler warning.
Don't use a pthread_t as a normal simple type.

Not on all platforms a pthread_t is a simple type and as such you cannot
normally determine if its initialized or not. So for the allocation of
the SD message channel we now use a bool that gets set when the thread
is running and needs teardown.
Fix pathname
Fix thinko in windows EFS support.
Make readline also work on windows.
Fix some bugs in the NDMP implementation.

Up until now we were not fully RFC compliant. You need to restore the full NDMP
environment returned during a NDMP backup when performing a NDMP restore. We more
or less re-created the environment when doing a restore but were missing some important
elements. We now save the full environment in the database and use that to restore
the whole environment when doing a restore.
Rework database scripting.

Having the actual DDL (Data Definition Language) in scripts is not very
flexible so we move all DDL into seperate files. We also dropped all
database specific scripting and as such the generic script now knows
for all supported database types what to do on create/update/grant and
drop.

You can also have a read-only user on your database that is allowed
to select stuff but not anything else that might be interesting for
Management Queries.

The update script now can also upgrade from a database that is several
versions old. For now that means you can upgrade from a Bacula database
to the first Bareos database schema and also to the new Database schema
we are introducing with this patch. For the future it means the script
will perform all needed updates for you if its has the wanted so called
conversion available (e.g. the way to go from one version to an other.)

We also added more functionality to the bareos-config script and splitted
the function into a bareos-config-lib which can be included by scripts
so they can get config information like the working dir etc. This is
already used in all the new database scripts.

We also no longer use explicit absolute pathnames for database utilities
but make sure the utility can be found via the PATH, if your PATH already
provides the utility it will be used and otherwise the value will be used
that was determined at compile time.

Fixes #236: Hardcoded path for postgres (verison) in scripts
Add first cut of a script that collects runtime information.
Rebuild configure.
Make comment a C comment not shell Comment.
Bump version number.
Update README.md
Allow updates from Bacula 2.x to Bareos.

Now that we have a smart database update script we can add the other
database conversion scripts and allow a user to update his database
also from an older Bacula version. (2.0 is what we cut off with the
client so also for the server it makes sense to not support
anything older.)
Fix leaked dl_handle.
Fix some missing break statements.
Fix typos.
Protect all access to dcr->job_spool_size via dcr->dev->spool_mutex
Only free a vollist when we have one.