Create and use the libbd_utils library

Many plugins need to call binaries and work with sizes so they can reuse one
piece of code. Moreover, there is a requirement of logging all argv arrays that
are executed which can be done much easily in one place.