Fix potential nil ptr seg fault and CI test issue

This change corrects two problems that the "dockerless"
CI build process was encountering:
	- Include and link paths set in the CMake config
	  were not always honoured by the application test
	  scripts

	- Building packges to install in the test environment
	  as a non-root user was causing non-standard install
	  prefixes to be added to the packages.

This change also corrects a typo in the NNG module which
potentially could have allowed a nil pointer to be
dereferenced. This bug was discovered while makeing the
changes for the CI jobs.

Issue-ID: RIC-303

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I30150950dd186e72f8c822ec3fbe5b07369cb4ce
17 files changed