Include functional so we can use std::function.
Convert IsIdent to use std::function.
Convert IsNick to use std::function.
Convert IsChannel to use std::function.
Convert GenRandom to use std::function.
Remove the ability to override InspIRCd::Rehash.

There is no legitimate reason to do this. Any modules which need
to know about rehashes should be using OnRehash.