.deb package more compliant according to Debian policy

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

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@22767 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
Fix bug in unit test script

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