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
- [ ] 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           | 

Tags can now have attributes.