Set url endpoints in app.coffee for easy Enterprise use

I'm not familiar with backbone so I thought I give this a try. Are the variables declared in the right spot? Is there a way to utilize the massive build tool to pull them from env?

#32