Plugin Authors: Allow to register custom APIs and simplified Plugin implementation

Heya,

Just pushed support for custom APIs (strongly typed) registrations by
plugins (on the Java API level as well):
https://github.com/elasticsearch/elasticsearch/issues/1612. Also, a
simplified plugin implementation with "onModule":
https://github.com/elasticsearch/elasticsearch/issues/1613.

-shay.banon