- Added some constraint checks for attributes
	- need to add more support including complex and simple types

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>