clean-up: moved hooks to one place
added run new hook in CheckUser extension - BeforeInsertCheckUserData; and implemented it in Chat extension to avoid adding internal IPs on Special:CheckUser page