Added `from` parameter to logout.php.

As with the previous commit, logout.php?from=discuss redirects to /discuss instead of the former default (index.php).