Refactoring and fixes in settings related to celery, Adding workaround in requirements files for mercurial, Also refactoring Static Files settings