Set context on restlet api components when attaching to router in RestManager