Add a owner field to the store.

- Move some of the form field definitions to the BaseFieldDefinition on the entity.
- Coding style fixes in the store tests