GrampsLocale: Correct some differences with trunk


Thanks to Paul Franklin for pointing these out.

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21637 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
[r21635]MacLocale: Extract function _mac_get_gramps_defaults

And correct line handling on the languages list.

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21638 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
[r21636]GrampsLocale: Better handle invalid/missing locale

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