created applicationBaseContentUrl to prepend to endpoints (getJsResource, getCssResource, …); created util methods getAppropriateReaderAccess, getFileViaAppropriateReaderAccess