Update MaxClient and ServerLimit according to the gear memory in PHP
Use OPENSHIFT_GEAR_MEMORY_MB instead of oo-cgroup
Set the 'stack-size' for WSGI python application based on the gear size
Make sure the openshift.conf is updated when Python app restart