Fixing PrefabGraphDumper and improving their JUnit test.

The graph template generation was not working. In order to avoid
possible errors on the future, the JUnit test is using the class
PropertiesGraphDao in order to parse the generated data and
verifying that everything is correct.

This can be merged into master.
Merge branch '1.12'