Update to ember 1.1.0.
Calculate default api path from window.location.