Storage: store type URI of retyped topic (#389).

The association metadata index is not yet updated when a topic is retyped.

=> retyping a Topic does not work for the moment.

Further refactoring is required: The retype code must be moved from storage decorator to application layer.

See ticket 389.