Change the type of the user parameter in the OnUserPreNick() hook from User to LocalUser

No remote users were passed to this hook before.

Remove needless IS_LOCAL() checks.
Reject nickname case changes too when enforcing <security:restrictbannedusers>
Check Q-Lines on nick change in core_xline