Add bit-fiddling and hex methods to toolbox

* Adds bit-wrangling methods to izettle-toolbox.
* Mostly copied from ByteUtils in izettle-commons.
Merge pull request #62 from iZettle/add-bit-fiddling-methods

Add bit-fiddling and hex methods to toolbox