RRel - add system tables

System tables are used to hold the linkage objects that are used for
m:n associations.  The number of these linkage objects is calculated
from the link count of m:n associations.
Merge branch 'master' into scratch