Fixes midonet and metaplugin config template rendering

Also added tests for the default attribute values used
in the plugin templates
Change-Id: I91146c2254381572734bffb831896f522527e446
Closes-Bug: #1380243