Fix UriRewriteFilter when building with artisan.

`$_SERVER['DOCUMENT_ROOT']` won't work when using the CLI (e.g. for `artisan basset:build`).

I reckon Laravel's `public_path()` helper is a better option.