Required adaptions to make code compatible with API changes in BaseThingHandler through https://github.com/eclipse/smarthome/pull/769
Signed-off-by: Kai Kreuzer <kai@openhab.org>