* Code cleaning and fix some small errors using Phpstan
* Configure pre-commit to run Phpstan before each commit
* Some little improvments and logging, mail, smarty & URL libs
* Add Sentry integration
* Add Webstat JS code inclusion
* Install Smarty dependency using composer
Breaking changes:
* Rename Event class as HookEvent to avoid conflict with PECL event
* URL with refresh GET parameter now automatically trigger redirection without it
after page loading to avoid to keep it in URL
- URL routes now defaulty required authentication if
force_authentication special function is defined.
- handle_request() now trigger a fatal error if user try to access to
a required route and if force_authentication function is not defined.
- logging() now retreive username from $auth_user['username'].