Storage fix: content index update on delete (#389)

When a topic or association is deleted the corresponding entries are removed from the *content indexes*.

=> ready to be merged into "master".
=> when you have an installation build from "master" its DB must be deleted.
=> to build the latest stable release (4.0.13) use branch "4.0.13-release".

See ticket 389.