0006483: Listing the Family Trees can corrupt them. Changed get_dbdir_summary to exit if the bsddb_version is not the current bsddb and to return both BSDDB and schema version. Changed family_tree_summary to output both versions. Changed argparser and arghandler to additionally support -t (table) option to list family tree in tab delimited format.

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@21828 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
ImportProGen: Prevent leaking file handle

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@21829 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
GrampsLocale: Better initialization from environment

Splits out Win32 and Posix initializations to take account of the
fact that on Win32 setlocale() ignores environment variables and on
Posix it's not necessary to check them because setlocale() does the
right thing.

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@21830 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
[Bug 6553] Get Datehandler base language from GRAMPS_LOCALE.calendar

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@21831 4ae1f11a-8b86-4847-b8af-ab372f36d1fd