test: use pkg-config for cpputest build flags
test: split l2cap-channel into l2cap-cbm and l2cap-ecbm