Feature/domain agnosticism

Some domains are vanity urls and hardcoding the EGNYTE_DOMAIN as a global precludes them from working. I added a small parse to see if we pass in a full url or just a subdomain meant to be prepended to .egnyte.com.

egnyte.com should be configurable so that we can use ruby package to test against qa-egnyte.com or local dev box.