cleanups of debugging.
catch case where sql insert fails.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7325 b45a01b8-16f6-495d-af2f-9b41ad6348cc
 Improvements to tests.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7326 b45a01b8-16f6-495d-af2f-9b41ad6348cc