Fixed the references to MEDIA_URL.
Added media template context processor.