Switch test programs to a BSD license

It concerns only the files in 'tests' directory.
Fix spelling in bandwidth-client.c
Removed function prototype without implementation

Function modbus_receive_from has no implementation in the library and is not used anywhere.
Remove old documentation of modbus_receive_from