Set url endpoints in app.coffee for easy Enterprise use

I'm not familiar with backbone but I thought I'd give this a try anyway. Are the variables declared in the right spot? Tested against GitHub Enterprise 11.10.328.

#32