Fixes configplugin execution bug

If we get an AttributeError, when executing yaml.load(), the execution of the
plugin fails. This patch fixes this issue.

Change-Id: Icc5d46adaf4e63e00e6e346161b7cccf93d2e4dd
Fixes Python34 bugs

This fix is needed due to the different encodings on Python27 and
Python34. Some tests failed and some string values were not
compatible.

Change-Id: I7206a0549051971da76b3b30221aea9f86eed904