7013: Impl. User.prompt based on QuestionDialog2

Reapply r22914 from trunk

Unit tests pass

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@22931 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
7016: new cmdline switches -y/--yes and -q/--quiet

reapply r22916 from trunk

testing on gramps40: UT

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@22932 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
7021: pass ArgHandler.user to import_new_db

reapply r22929 from trunk

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@22933 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
Back-merge the UT for gui.user as well

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