Bugfixes and small changes

- Apply table prefixes to newer tables
- Switch back to new url code (should make this a setting)
- Always show sidebar in theme rkok in frontend pages
- Fix database install script
- Add some comments to config.php