Improved ERS memory handling

On shutdown the ERS will loop thru leftover managers and clear them according to each manager's settings, while also printing errors according to each manager's settings.
Will also help pinpoint the causes of http://hercules.ws/board/tracker/issue-8093-memory-leak-after-stop-server-cant-fix/ and similar issues.

Signed-off-by: shennetsind <ind@henn.et>
Follow up 4fe6f657e682b9c722b15346f31ec3fe0298b9d9

Yahoo I screwed up. re-adding the tick = -1 I removed in the aforementioned commit.
Super-mega thanks to EPuncker!

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of http://github.com/HerculesWS/Hercules