Auto-detect namespace in smarty function component
use * for auto detect and remove namespace param
move logic to Render and re-use in "getClassnameByPath"
change method name
remove not needed get_class check
Merge branch 'master' of github.com:cargomedia/CM into issue-1373
Merge pull request #1373 from mariansollmann/issue-1373

Auto-detect namespace in smarty function component