move client_api lib to diag_lib
update project files
rename libdiagapi to libdg_client_api
add libdg_loop and dg_int_loop