Added AttributeConstraint.

@mdsol/hypermedia-team Added AttributeConstraint. Please review this.