added fromHex() and toHex() methods
bugfixes
upstream merge
Merge pull request #3 from szymonkaliski/master

added fromHex, setHex, getHex, and small bugfixes