Cleanup of unusef functions and refactor of ones messing with API
/!\ Starting refactor of player page

Doesn't work at all. I just put the new general structure of the page
here
Refactor Player page : If summoner exists in database
Refactor Player page : Getting infos via the API
Refactor Player page : Adding API call when only ID is provided
Refactor Player page : Correcting case when id is provided and not found in ddatabase
Correcting some bugs
HUGE COMMIT : Read more in the description

- Correcting a WHOLE FUCKING LOT of diverse bugs
- Refactoring the entire functional structure of the page
- Correcting the main SQL request to math newly appearing edge-cases in
searches like searching for a summoner that we don't have the name but
that participated in a game when being searched by id
- Renaming some variables for clarity
- Deleting some chunks of debug-only code
- And maybe other things I missed here...
Solving a bug happening when a summoner had 0 total deaths
Updating error handling with searches. Errors are pretty, now.

Also added the "Invalid id" error
Redirecting to 404 if requested page isn't in the authorized ones
Better looking errors, more error cases
Correcting a bug when filtering due do the region being passed in a false manner
When there's no data for a summoner's game, display the participants of that game
Estimating duartion and winning team for games

As well as correcting a confusion between two calls in the API that
resulted in an error if the two API methods weren't the same version
number.
Deleting showapi ; it can be shown it in getapi
Storing win and duration in 'games' table
Updating example config file
Adding URF mode
Changing title format