Fixing install

- `$rel` based on the `REQUEST_URI`
- `BASE_PATH` based on `SCRIPT_FILENAME`
- `config.exemple.php` modified to be a real exemple file. 

These changes should allow any type of install (docroot, subdir, alias).