Fix property list arguments.
Fix errors in socketengine_ports so it compiles on Solaris

Thanks to fraggeln for reporting and testing
m_ldapoper Fix typo spotted by @lordsith49

Fixes #392
OpenBSD does not have KERN_MAXFILESPERPROC.
Fix the poll socket engine on BSD's other than FreeBSD.
Include <list> in base.h to prevent build errors on OpenBSD.
Replace a GNUmake idiom with the portable equivalent.
m_banredirect Remove unnecessary hooks, cleanup

- Remove prioritization before m_banexception, it doesn't even hook OnUserPreJoin
- Remove OnChannelDelete handler: nothing to do in that case, our extension item is automatically freed
- Remove empty OnRehash handler
m_banredirect Deny the join to the redirect channel if it has a redirecting ban set that matches the user

Fixes #395 reported by @patatje368
m_messageflood Ask to be the last to handle OnUserPreMessage/OnUserPreNotice

Fixes #394 reported by @JDowny