Trigger max_threads upon reaching the limit

Trigger "max_threads" event (and thus "threadMaxThreads" trap, with
default SNMP configuration) upon reaching "max_servers" thread limit,
instead of on an attempt to exceed it, as the latter never happens.
Merge pull request #758 from spbnick/trigger_max_threads_on_limit

Trigger max_threads upon reaching the limit