Added optional media_dir to setup_apache() and set_media_permissions()

:param media_dir: Optional dir underneath code_path if media does not live in
 +        ``<code_path>/django_project/media``. No trailing slash.
 +    :type media_dir: str