Re-integrate logic to determine only the direct constraints of a class.

Change-Id: I128a4395a843fb9d9f2af168038d68995f56976d
data quality check when retrieving constraint for class and propery

Change-Id: I4ddd6a32c9687d611f6e0257d9bab40e367278d1
Fixed Popcorn parser.

Change-Id: Icbb073ae4158cf748bcbaa152f11fa8356bbfa9c
Merge "Fixed Popcorn parser."