Check for buffer overflow and 0 terminate export name.
Link binaries against libnbd-common, too.
Move htonll and ntohll to libnbd-common.
Add nbd_option_t and helper functions.
Ignore libtool, .libs, *.lo and *.la.