Code cleanup for Z-Wave

 - Use callback in gateway-openzwave to be able to log errors.
 - Codestyle: Use more speaking variable than just `f` for a map of callback handlers.
Merge pull request #258 from sja/zwave-cleanup

many thanks. i've merged and then done a very small amount of cosmetic editing for style consistency.