Editing of related entities basic framework in place

Still need to implement saving the edits, displaying collections as multiselects, and test a non-collection related entity.