Allow display error on ... error & prevent token url error & Add link to thelia modules

This PR is a gift to @roadster31 , solving his #935 .
Now, thelia has error pages too. :kiss:

This PR solves #939 too.
This solves #938 too.

and if you return 0 instead false, the integer cast is not needed, am I wrong ?