added notification callback to restclient.

it is used to get messages from successful create operations
(e.g pending routes).
cosmetics
replaced impl. class in test with the verify method to test the notifierCallback interface.