Fix 3rdpartyroot

Resolves https://github.com/owncloud/core/issues/5150

Also fixes an issue where you couldn't retrieve things from the $server container in base.php

Reasoning: All references to this variable append /3rdparty which is unnecessary