core: [db] include version in exportDbSchema.sh...

[db] include version in exportDbSchema.sh output

This patch adds the latest database version installed to the file name
such that file name is in the format .<dn_name>.<version>.schema

Change-Id: I5f643c170bf14f2a4395b726a3c00909893f1c36
Signed-off-by: Eli Mesika<emesika@redhat.com>