Final JPA and UI fixes

Finalized the JPA components, including fixes many issues with owned
many-to-one relationships.   Also finalized the membership form UI.