Change iService interface

Change the register() method signature : parameters are now optional
Add a new property to the Response class

The callBefore property allows to define an anonymous function
that changes the response content before it gets sent to the browser.