Fix and move CLI unit test

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@22754 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
Fix and move config unit test

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@22756 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
Fix and move keyword unit test

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@22758 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
Convert db unit test to use unittest module

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