Adds an event post type and related functions to the WordPress admin.