Enhanced structure tagging

This PR allows structure tags to be defined in the structure template
file. These tags can subsequently be used by other bundles.

__Tasks:__

- [x] test coverage
- [x] Reviewed by Dan
- [ ] gather feedback for my changes
- [ ] submit changes to the documentation

__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | yes
| Fixed tickets | none - helps with the search PR
| BC Breaks     | yes - get/setIndexName on structure has been removed
| Doc           | 

the media bundle integrates with the search. it uses the PRE_SAVE event and the node state is always TEST unless this line is here.