Add BUILD_SAMPLES and BUILD_TEST options for configuring whether the kNet samples and tests are included in the build.