Fix debian package building mechanism

This comit makes it possible to build debian packages using
dpkg-buildpackage. This fix is a kind of workaround -- it makes
it possible to compile and install the sources using the same
commands as when using autotools, but actually uses cmake build
system. It is still experimental, ie. not tested very well.
Fix debian package building mechanism

This comit makes it possible to build debian packages using
dpkg-buildpackage. This fix is a kind of workaround -- it makes
it possible to compile and install the sources using the same
commands as when using autotools, but actually uses cmake build
system.
Pull request: https://github.com/lizardfs/lizardfs/pull/77
tools: Fix conversion numbers to human readable IEC format

Function 'print_humanized_number' has been refactored.
In addition there was a bug for 'IEC' format conversion:
Old function was returning e.g.: '1.0KiB' for '1023' bytes..
The bug was a result of using always '1000' as a 'base'
for both 'SI' and 'IEC' rounding. The 'base' should be accordingly:
'1000' and '1024', even for rounding.