Added missing template tests and checked existing ones (III)

Covers all template plugins except midonet and metaplugin
(see https://bugs.launchpad.net/bugs/1380243). Obvious mistakes
have been corrected in some of the templates (trailing
whitespaces, cut&pasted attribute names, instance variables
instead of block variables and so on).

Change-Id: I2302cd4f0ef29be4f1d783de930af2abbf7c1a15
Closes-Bug: #1328999
Implements: blueprint add-template-tests
Merge "Added missing template tests and checked existing ones (III)"