Added Url.generate_theme to app.js

Ported Url::generate_theme method to the App.Url js object.