lib-spring: rework context file loading (fixes #2)