Add json-rest api class DakEvent_API_Event, using WP-API
Add hook to register our json rest api