feat(core): introduce PUBLIC_PATH constant
PUBLIC_PATH marks the web document root. It equals ROOT_PATH for now, so the
values of every constant stay exactly as they were, and ASSETS_PATH,
UPLOAD_PATH and the new PUBLIC_THEMES_PATH are derived from it.
THEMES_PATH keeps pointing at the repository root: most of its usages resolve
templates, which stay outside the document root.