Core: refactor storage layer, pt.3 (#391).

Does not yet compile.

BREAKING CHANGES:

- Interface DeepaMehtaObject: getAssociations(String myRoleTypeUri) is dropped

See ticket 391.