Prevent the content item factory registering routes.

This makes the assertions in the tests clearer.  Previously we were
asserting that routes had been registered twice because there was an
additional call made by the factory creation which wasn't immediately
obvious.