Fixed a small unsigned int comparison warning.
Fixed a small linking issue with util::binary<>, added test case.
Adapted util::binary<> to our code style.