Make curl open connections limit configureable via config.php

By default the limitation is disabled but if someone needs to limit the
amount of open connections opened by curl he just needs to modify the
LIMIT_CONNECTIONS constant.