Update UrlGenerator.php

A simple way to let serve assets from separate sub domain, in the asset url genration helper functions. The sub domain may be set by a configuration value in app.php