[fixes #6168242] allows scalr to figure out what the right index is for
the devdebug server when running the rails_c command
Make scalr endpoint fully configurable

Allows configure end point port and actual url
Url example for on premise scalr:
Scalr.endpoint = "http://192.168.0.1/api/api.php"