Modify sql template

Add correct Sql generation from metamodel
Merge branch 'master' of https://github.com/KleeGroup/vertigo