a few small thing discovery fixes

Signed-off-by: Kai Kreuzer <kai@openhab.org>
Merge pull request #72 from kaikreuzer/smallfixes

a few small thing discovery fixes