CMS-3665 Convert portal to use restlet.
Unit tests for RenderResource and ContentResource.