[BUGFIX] When resolving template paths use ucfirst controller action

Controller actions start with a small letter. When resolving this in a template path we need to upper case the first letter to get it to work with case sensitive file systems. Since fx fcc uses the resolve method to go into subfolders via the controller action we need to ucfirst every segment.