fixed detection patterns for spring and java_web in v1 cloud_controller