Implement an event factory utility class and fix PlayerUpdateEvent.

PlayerUpdateEvent did not implement PlayerEvent.
Add Selector API. Merges #297, Closes #294
Fix javadoc errors
Fix formatting(except for missing javadocs)
Test arrays with the event class generator.
Add server status ping API.