Added variables support, setup.py and fixed deep update crash

Hi Axel,

It's great that you've created this package! I've updated it a bit:

* added `setup.py` so it can be installed via `pip`
* added accessing variable value
* fixed bug which happened when one of your devices was due to deep update