added constrains building tool using scala macros;
see ExtendedConstraintBuilderSpec for details.