Move content-rest-endpoint feature

Reorder content modules so that dependencies are built before modules
that use them.