Implement rate-limiting

http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api#rate-limiting
> event_plugin_info => $plugin_info

I'd rather keep it as `$event_plugin_info`. Actually I had `$plugin_info` in my code and changed it to avoid confusion with the *rate_limit* plugin info.