Fix invalid read and memory leak in `lock_log()`
Protect against the possibility of multiple close attempts
Prefer textual "known device name" over the one read out from device
Make sure to save device_info for later use
Added foreground argument to ease debugging
Restructure in preparation of ambit3 support (Manually merged ambit3 branch)
Renamed hidapi hidraw driver (from hid.c to hid-linux.c)
Added 2 previously unknown log sample types
Splitting header files (libambit_int.h was getting way too big)
Moved hidapi implementations into hidapi folder