Limit maximum of open curl connections to 15 - last attemp

If updated my modification to limit the amount of persistent open curl-connections to be configureable via config.php. By default the limitation is disabled (value set to 0) but if someone needs to limit curl's persistent connections amount he just needs to set LIMIT_CONNECTIONS to a value greater than 0.