Handled sensors' unregister

Jira Issue: WP-1125
Fixed bug in driverListener function

Jira issue: WP-1125
Merge pull request #4 from glatorre/WP-1125

Handled services' unregister when sensors/actuators have been removed