Return an error code when normalizing or parsing invalid DIDs
Update test suite with new return values
Simplify test cases
Merge branch 'master' into telefi