Fix an issue on some systems where SITE_ROOT was set incorrectly

On some systems, `__file__` only contains part of the filename to access the current file, such as where it is in relation to the calling file (`manage.py`). This breaks some systems, and this pull request fixes that by surrounding `__file__` with `os.path.realpath()`, which forces it to be an absolute URL, fixing it on my system.