Hooks error handle, vote random stores data

- Hooks now error handle properly. If a standard hook errors, it is
removed. If a plugin hook errors, the plugin is disabled.
- Vote random score and KDR sorting methods will now store data about
the last few rounds and use an average of the stored data when sorting.
The setting "MaxStoredRounds" controls how many previous rounds to
store.