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"