Clean up a bit of code.
Add test for Layer7Connections object.
Add support for TypedFields that occur more than once.

Previously, there was no way to represent subelements of an Entity which
could be repeated multiple times, unless it was an EntityList.
Convert Layer7Connections object to simplified representation.

This was made possible by the support for TypedFields that could occur
more than once.