websocket url parsing made. In original version, device always tries to connect
to websocket at http://targetdomain/device,
After fix it connects to http://targetdomain/targeturl/device
Update ws.y - missing save data

Missing data field in device_save function
Merge pull request #3 from michbil/stable

websocket url parsing made. In original version, device always tries to ...
Added and fix DeviceClass (isPermanet, offlineTimeout, data)
Added missing attributes for DeviceClass
Minor changes to support RESTFull interface
Merge pull request #4 from dejanpojbic/patch-1

Patch 1. Except I would rather prefer to use pep8-ish naming convention.
Merge commit '16b800eafd7e354c599aae4c29c4659480807edf'
Merge branch 'stable'