protect against failed adaptation due to attribute errors in the renderer.

refs Issue #11
in case of error when rendering json, return an error object as json so the viewlet code can abort cleanly

refs Issue #11
Handle error returns from the jsonview by making the stock content visible and returning

refs Issue #11