rewrote a lot, added openhab item support

TODO:
- forward items to openhab
- tornado throws exception on curl put