function PathStore () {
    this.items = [];
    this.paths = [];
    this.memo = {};
}
A class that can be used to associate any item with a path.
Items and paths are kept in flat arrays for easy iteration
and a memo is used to provide constant time lookup.

@class