Fix path browsing

Remove FILE_DIR from the "dir" parameter to index.php
Make default Content-Type for "view" text/plain

This allows to view other files, like README.md
Fix .. directory