[FEATURE] Added template resolver

Main PR: https://github.com/sulu-cmf/sulu/pull/229