Implement rate-limiting

http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api#rate-limiting
=> getRateLimit
event_plugin_info => $plugin_info