fix 'namespace' path.

ex. $uri is 'app://self/user'.

```php
$namespace = "{$appName}\\Resource\\{$scheme}\\" . implode('\\', $array);
```
$namespace will be 'AppName\Resource\App\'.
Last character '\' is not needed.