Update Configuration.php

mode : test or production .. is better specified in the configuration than by detecting it in the environment of the kernel . For example -- I have a Test Production environment behaves like a product environment (caching, etc) and I want that to run the 'test' paypal aPI calls.