Adds EventHandler system. Updates chunk generation to use the API

Random Stuff Mod example updated also to show changes