Support for many-to-many relationships.

Created projecttags and projectresources to support many-to-many
relationships. Still need to test all relationships.