add mono-domain support for static files.

now guess from STATIC_URL and MEDIA_URL thes files will be served
from a subdomain. use this subdomain if provided