Fixed bug in n-to-many forms and many broken tests.

The bug in n-to-many forms involved a JS error when displaying the entity on directly navigating to it.

Refactored the tests to use a PropertyBuilder to create InspectionResults.