Update exception syntax
Add test to ensure UnicodeDecodeErrors not swallowed

This test registers a title indexer that forces a UnicodeException during the creation of an content item, and checks that it is not swallowed by api.content.create