slightly better CLI help

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@21750 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
restore SVN number to "gramps -v" output

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@21751 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
GrampsLocale: Separate self.encoding from sys.stdout.encoding

Because python standard library functions encode to
locale.getpreferredencoding or sys.getdefaultencoding, not to
sys.stdout.encoding.

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