Added plugin infrastructure.

We now pass all the blogposts to the FileTemplate, since it initiated the PluginContext object that gets
all the plugins and makes them available in the template scopes.