Merge pull request #2 from kbsali/master

move the sample input object from tab to popover
Popover fix
refactor builder : move all templates to static vars to make method easier to read (also move to twig friendly tagging)
complex input objects are declared through the 'type' attribute