Fixes to allow modules (not including whois.cpp) to *BUILD* in ZNC-1.0. ...

I wanted quitaway, but it didn't build, so I looked to see if I could fix it. While I was about it, I was able to fix most of the other modules, though not whois, which would require more refactoring, due to the shift away from one-network-per-user to many-networks-per-user.

...May not actually work at runtime, didn't test much.

* Corrected #include paths to include znc/
* Replaced CGlobalModule with CModule - in 1.0, global/local is determined at runtime
* whois.cpp would require additional refactoring to build correctly in 1.0