Show folders when reading a category, nginx hotfix

Show nginx users add this config to you nginx.conf
```
location /api/ {
          try_files $uri $uri/ /api/index.php?$args;
}
```

Also added an option to read the folders when reading the category (read/categorry/0 will list the root).
Will also implement an search function soon.