Doc update: "TemplatesPlugin" to "ViewTemplates", added imports.

Apparently after breaking-changes in ViewTemplates API doc stayed the same.
I also added imports, as it would took ages for people without IDE to find those.