Backport some obvious fixes for the core from Bacula 7.
Fix use of uninitialized jcr member in DCR constructor.
Add some safeguards.

Add some safeguards against running a Native Backup Job on NDMP client
or storage.

Fixes #329: Add some safeguards against running a Native Backup Job on
            NDMP client or storage.
Don't save filehist for NDMP backup when requested.

Some NDMP implementations send their FILEHIST information in an out of
order way which we currently don't handle fully correct so allow the user
to set a config option to allow not to save the FILEHIST only count the
files and directories saved.
Sync LMDB code.
Missing job states in DB table Status

Adds the missing and currently used states, which are defined in jcr.h,
to the status table of the database.

Fixes #333: Missing job states in DB table Status

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Make the output of bextract a bit clearer

bextract does not work if the archive-device and directory are not given
as the last two parameters.

We now give this info to the caller.