Add getWebappPath() method to servlet context + config