added lan configuration functions to c-api
added get/set lan commands to CLI, fixed wsa_apply_lan_config
small fixes in documentation, and type casting
fixed merge conflicts