Exclude Managed Packages

Add field and related code to exclude all managed packages from unit
tests.