Trying to improve Upload controller.

Fixed an error when uploading a file without extension.
Almost finished installer.

<php> tag removed from databaseConfig.example.php.
Fixed bad behaviour on resource page.