fix potential NPE in LinkGenerator
make ApplicationContext lookup not throw an exception
REST: formalize concept of a container renderer and make RendererRegistry pluggable