more specific annotation of json

We annotate json as we serve it so that the 
client can adjust rendering. Example: green 
border for pages served from plugins.

This commit moves the logic for applying the
plugin annotation to a point where we know 
for sure that we are looking for plugin pages.
Merge pull request #65 from fedwiki/ward/plugin

more specific annotation of json