Core API: add getAllXX() methods (#495).

The Core service has 2 new methods:
    - Iterable<Topic> getAllTopics()
    - Iterable<Association> getAllAssociations()

Close #495.