Move identity request URI normalization code to function testAndNormalizeRequestURI():
- I will need insert URI validation code in the UI for the CreateIdentityWizard, and that code will be built upon this function
- Use the function in startupIntegrityTest() to test whether the stored URI is valid
- I've done a test run using the startupIntegrityTest() upon a 6000 identity database to ensure that the code is fine
Fix typo in error message
Move OwnIdentity insert URI normalization code to function testAndNormalizeInsertURI():
- I will need insert URI validation code in the UI for the CreateIdentityWizard
- Implement a unit test which makes sure that the code works with all kinds of different USK/SSK URIs which people might enter when creating an identity
- Use the function in startupIntegrityTest() to test whether the stored URI is valid
- I've done a test run using the startupIntegrityTest() upon a 6000 identity database to ensure that the code is fine
Fix "null" as error message for exceptions which don't have a message
Merge branch 'master' into fix-database-leakage