[NEXUS-6027] simplify servlet context listeners, expose bootstrap configuration