Made Theme::basePath optional fixes #2810
reverted deletion of Theme::getPath()
fixed Theme::getPath()