Fixes for ContentEntityNormalizer and changes endpoint to work with CouchDB replication, also fix tests.