Core: bidirectional assoc indexing (#389, #391).

The new association metadata index can be queried "from both sides".
See ticket 389.

First tests of the Neo4j storage implementation are adpapted to the new storage layer API.
See ticket 391.
Merge branch 'assoc-index' into revise-assoc-def