Mark inherited constraints in children tables. Fixes #102.

  Thanks to DVarrazzo for the changes to constraint.py.
Merge branch 'r0.7'