Added support for importing elements in the repository with states renderers
Some cleaning
Merge pull request #762 from jtorrente/repo-import-states

Added support for importing elements in the repository with states renderers