Selectively disallow snippets

This hopefully fixes #2073 and other related problems. There were occasions where extensions were adding html to output from ajax requests. This opts the extend controller out of this functionality.