Fix various problems with ModuleManager.

- Fix downloading the module list on very new versions of Perl.
- Fix an off by one error caused by array sizing starting at -1
  instead of 0 like in every single other language (!!).
- Fix vague error messages when LWP encounters an error.
- Fix LWP::Simple being used before we have checked whether it is
  available.
Merge pull request #693 from SaberUK/insp20+modulemanager-bugs

[2.0] Fix various problems with ModuleManager.
Fix ACCEPT propagation bug when it got a nick prefixed with +

Fixes #696
Does not apply to 2.2 due to Attila's rewrite of the module
Fix m_override refusing to override modes if the user holds halfop or higher in the channel