[r21961]GrampsLocale: Refactor/clean up initialization

Includes moving encoding to be a class variable.

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21978 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
[r21962]GrampsLocale: Make dictionaries class variables

lang_map and country_map

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21979 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
[r21963]MacLocale: Capture collation qualifications

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21980 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
[r21964]GrampsLocale: Add date_parser and date_displayer properties

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21981 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
[r21965]GrampsLocale: Add get_date and get_type functions

To enable GrampsLocale to replace libtranlate.py's Translation
class.

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21982 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
[r21966]GrampsLocale: Extract 2 reporting functions

set_translation() to the Report class
Add a new module stdoptions to gen.plug.report with function
add_localization_option(). The intent of stdoptions is to reduce the code-copying among reports; this is the first bit.

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21983 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
[r21967]GrampsLocale: Integrate libtranslate functions into GrampsLocale

And remove libtranslate

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21984 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
[r21968]GrampsLocale: Remove get_translation()

Only one base translation per locale. To set up a different locale
on any axis (locale, domain, directory, or languages) instantiate a
secondary locale by calling GrampsLocale() with the appropriate
arguments.

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21985 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
[r21977]Remove unnecessary (and broken in Py3) import

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21986 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
add "Id" property

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21987 4ae1f11a-8b86-4847-b8af-ab372f36d1fd