Callback function handling

Added possibility for the client to register for callback from FreeRDP.

Currently supported callback events:
- setting value changed
- connected
- disconnected