Added support for new InvoicePluginApi

Added support for new InvoicePluginApi in KB core

Related discussion:
https://groups.google.com/forum/#!topic/killbilling-users/XgAbVm3XPg8