changed usage of request to serverContext->getServerVar

refactored serveral modules so the deprecated usage of $request ->getX for things like the query string was changed to the usage of $serverContext