Added features and an example

* Added pre/post operation callbacks (with OperationContext parameter)
* Added example
* Fixed a bug about ClientBase<T> derived type generation